build_tree!() { /* proc-macro */ }
Expand description
Accepts grammar specifications separated by semicolons. This macro will generate parsers and data structures for all the grammar specifications inputted to it.
Example:
use tree_builder::build_tree;
build_tree!{
Digit => #d;
Letter => [a-zA-Z];
}