§syn-grammar-model
This library contains the shared logic for parsing, validating, and analyzing
syn-grammar definitions. It is intended to be used by procedural macros
that generate parsers or documentation from the grammar DSL.
§Pipeline
- parser: Parse input tokens into a syntactic AST.
- model: Convert the AST into a semantic model (via
Into).
- validator: Validate the model for semantic correctness.
- analysis: Extract information (keywords, recursion) for code generation.