parol 4.5.0

LL(k) and LALR(1) parser generator for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
///
/// Module with grammar transformations to canonicalize grammar.
/// This is actually the transformation from an EBNF like structure to a BNF like structure.
///
pub mod canonicalization;
pub(crate) use canonicalization::transform_productions;

///
/// Module with left-factoring functionality
///
pub mod left_factoring;
pub use left_factoring::left_factor;

/// Module that handles the augmentation of the grammar with a new start symbol for LR parsing
pub mod lr_augmentation;
pub use lr_augmentation::augment_grammar;