Expand description
Language adapters (PSP-8 System 5 / Gate D).
A coding language adapter evolves from a command selector into a verifier
suite: it parses compiler/type-checker/test output into typed
ResidualEvents and maps each into a CorrectionDirection. Actually
running the tools is the runtime’s job; the testable core here is the
normalization from raw diagnostic text to residual evidence, which is what
makes corrections directed rather than undirected retries.
Structs§
- Python
Adapter - The Python verifier-suite adapter (pyright / mypy / pytest).
- Rust
Adapter - The Rust verifier-suite adapter (rustc / cargo / rust-analyzer).
- Type
Script Adapter - The JavaScript/TypeScript verifier-suite adapter (tsc / eslint).
Traits§
- Language
Adapter - A coding language adapter: a verifier-suite provider for one language.
Functions§
- adapter_
for - Return the adapter for a language.
- classify_
rust_ code - Classify a rustc error code into a residual class.
- classify_
ts_ code - Classify a TypeScript diagnostic code (e.g.
TS2307).