TypeScript interface for building Concordia Compiler plug-ins (v1.3.2). This package defines the Plugin interface and related types that must be implemented by any Concordia plug-in. It is released on npm with monthly updates. Compared to direct compiler extension, it provides a standardized API for code generation and test execution. ESM-only, requires Node >=12.20, and ships TypeScript declarations.
npm install concordialang-pluginNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Example of a minimal plugin class implementing the Plugin interface with generateCode and executeCode methods.
Update your plugin implementation to match the new interfaces.
Ensure you implement at least generateCode and/or executeCode as needed; omit serveCommand if not required.
If using the options object, check for new/changed properties.
Use import syntax or dynamic import(). Set { 'type': 'module' } in your package.json if needed.Install 'concordialang-types' as a dependency: npm i concordialang-types
Use import or dynamic import. For CommonJS, use async import() or switch to ESM.
Add 'export default class MyPlugin implements Plugin'
Update to concordialang-plugin >=1.3.0.
Install it: npm i concordialang-types
No dependency data recorded yet.