Rust AST reflection into Beskid.Compiler SDK
Platform spec ADR
Rust AST reflection into Beskid.Compiler SDK
Spec standingStandard
- Syntax domain model generation - Contracts and edge cases Contract for generating the immutable Beskid syntax domain model consumed by Mod SDK facades and meta discovery.
- Syntax domain model generation - Design model Contract for generating the immutable SyntaxMirror domain model consumed by Compiler Mod SDK facades.
- Syntax domain model generation - Examples Contract for generating the immutable Beskid syntax domain model consumed by Mod SDK facades and meta discovery.
- Syntax domain model generation - FAQ and troubleshooting Contract for generating the immutable Beskid syntax domain model consumed by Mod SDK facades and meta discovery.
- Syntax domain model generation - Flow and algorithm Contract for generating the immutable Beskid syntax domain model consumed by Mod SDK facades and meta discovery.
- Syntax domain model generation - Verification and traceability Contract for generating the immutable Beskid syntax domain model consumed by Mod SDK facades and meta discovery.
0 revisions (git unavailable at build; counts may be empty)
No commits recorded for this path.
Full tree: run pnpm verify:platform-spec-layout (writes src/generated/platform-spec-layout-report.json).
Context
Section titled “Context”Hand-maintained parallel syntax trees diverged from the host parser.
Decision
Section titled “Decision”Canonical syntax model is generated via beskid_ast_reflect_gen into Beskid.Compiler.* SDK sources from the Rust AST—aligned with D-INC-0006.
Consequences
Section titled “Consequences”Mods consume generated facades; internal beskid_analysis::syntax remains host-only.
Verification anchors
Section titled “Verification anchors”beskid_ast_reflect_gencompiler/crates/beskid_analysis/src/syntax/.