Expand description
Loading and installing the JSON-serializable grammar interchange format.
Structs§
- Grammar
Error - Grammar
Setting - Optional settings applied across a grammar installation.
- Grammar
Setting Alt - Grammar
Setting Rule - Grammar
Spec - An ordered, immutable serialized grammar document.
Enums§
- Grammar
Groups - Group tags appended to every alternate while installing a grammar.
Constants§
- BUILTIN_
SCHEMA_ VERSION - Builtin wire schema implemented by the Rust port. Schema v3 adds the
@fold$tree action used by current BNF-family compiler output. Schema v4 adds@key$lit, the key as a constant rather than read from a token, for grammars that declare their shape instead of delimiting it. Schema v5 addssrcto@setval$/@push$, taking a member’s value from the source text the tree builders accumulated.