Expand description
Welcome to PANG
Re-exports§
pub use grammar::DecodeCallback;
pub use grammar::EncodeCallback;
pub use grammar::Expansion;
pub use grammar::Grammar;
pub use grammar::exp;
pub use grammar::exp_cb;
pub use grammar::exp_dc;
pub use grammar::exp_ec;
pub use language::Language;
pub use symbol::Symbol;
pub use symbol::nt;
pub use symbol::t;
pub use symbol::t_ber;
pub use symbol::t_ber_val;
pub use symbol::t_bis_val;
pub use symbol::t_bits;
pub use symbol::t_bytes;
pub use symbol::t_bytes_val;
pub use symbol::t_dyn;
pub use symbol::t_dyn_val;
pub use tree::DerivationTree;
pub use tree::new_node;
Modules§
- grammar
- Grammar can show the structure and syntax of language.
- language
- A Language can be defined by its grammar, start symbol, and other things.
- parser
- Parser can parse input string with given grammar.
- symbol
- Symbol contains Terminal or NonTerminal.
- tree
- Derivation tree is used in parser and generator.
Macros§
- grammar
- Create a
Grammar