Crate pang

Crate pang 

Source
Expand description

Welcome to PANG

Re-exports§

pub use language::Language;
pub use tree::DerivationTree;
pub use tree::new_node;
pub use grammar::*;
pub use symbol::*;

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