Expand description
Library for manipulations on context-free grammars. Most transformations are abstracted over grammar representations.
Re-exports§
pub use crate::symbol_bit_set::SymbolBitSet;pub use crate::cfg::*;
Modules§
- cfg
- Definitions of the context-free grammar type and its rules.
- precedenced_
rule - Precedenced rules are built with the builder pattern.
- rule_
builder - Plain grammar rules can be built with the builder pattern.
- symbol_
bit_ set - Informs whether symbols are terminal or nonterminal.
Macros§
- named_
cfg_ rule - Creates a new Cfg rule, which holds names for debugging purposes.