Expand description
Meta-notation-derived textual surface syntax for grammar authoring.
The public parser first runs the input through the existing links-network
parse boundary, then lowers the surface tokens into the grammar IR. The
LiNo helpers reuse the grammar links codec plus LinkNetwork::to_lino and
LinkNetwork::from_lino, so there is still only one canonical network
serializer.
Enums§
- Grammar
Surface Error - Error raised while parsing grammar surface text.
Functions§
- grammar_
from_ lino - Decodes a grammar from
LiNotext produced bygrammar_to_lino. - grammar_
to_ lino - Encodes a grammar through the existing links codec and serializes it as
LiNo. - parse_
grammar_ surface - Parses meta-notation-derived grammar surface text into the grammar IR.
- write_
grammar_ surface - Lifts a grammar back to canonical surface text.