Plugins
COGANT is extensible at four points: language parsers, translation rules, validators, and exporters. This section explains the plugin taxonomy, the abstract base classes, configuration and discovery, and the publishing workflow. Read this if you intend to ship a plugin out-of-tree or vendor one inside your own project.
Contents
| Page | Description | Level |
|---|---|---|
| Overview | What a COGANT plugin is and why you would author one | Beginner |
| Plugin Taxonomy (Abstract Bases) | The four abstract base classes and their contracts | Intermediate |
| Language Parser Plugin | Add support for a new source language | Advanced |
| Translation Rule Plugin | Ship a rule pack as a plugin | Intermediate |
| Validator Plugin | Add a new validator to the validation pipeline | Intermediate |
| Exporter Plugin | Emit a custom output format | Intermediate |
| Plugin Configuration | How plugins are configured at runtime | Intermediate |
| Plugin Discovery | Entry-point discovery and load order | Intermediate |
| Plugin Development Tips | Practical advice for building robust plugins | Intermediate |
| Plugin Publishing | Packaging, naming, and distribution | Intermediate |
| Best Practices | Quality bar checklist for first-party-grade plugins | Intermediate |
| See Also | Cross-links to related documentation | Beginner |
Recommended Reading Order
- Overview — decide whether you actually need a plugin.
- Plugin Taxonomy (Abstract Bases) — pick the right base class for your goal.
- The specific plugin-type page for your target: Language Parser, Translation Rule, Validator, or Exporter.
- Plugin Configuration and Plugin Discovery — wire the plugin into a real session.
- Plugin Development Tips and Best Practices — harden the implementation.
- Plugin Publishing — ship it.
Related modules
- ../rules/README.md — translation rule authoring (the most commonly extended surface).
- ../api/README.md — canonical API reference for the plugin base classes.
- ../tutorials/README.md — hands-on plugin tutorial (
07_plugin_authoring.md). - ../notebooks/README.md — notebook walkthroughs of plugin authoring.
Agent notes: AGENTS.md - Hub: ../index.md