Skip to content

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
  1. Overview — decide whether you actually need a plugin.
  2. Plugin Taxonomy (Abstract Bases) — pick the right base class for your goal.
  3. The specific plugin-type page for your target: Language Parser, Translation Rule, Validator, or Exporter.
  4. Plugin Configuration and Plugin Discovery — wire the plugin into a real session.
  5. Plugin Development Tips and Best Practices — harden the implementation.
  6. Plugin Publishing — ship it.

Agent notes: AGENTS.md - Hub: ../index.md