Structsยง
- Grammar
Normalizer - Normalize a grammar: rename the root rule, then structure-normalize.
Port of
GrammarNormalizer. - Root
Rule Renamer - Rename the root rule to
"root"; if another rule is already named"root", give it a freshroot_Nname. - Single
Element Expr Eliminator - Eliminates single-element sequences/choices and single-codepoint
character classes.
choices("a") -> "a",[a-a] -> "a".