Expand description
A simple parser library for Rust.
Functionsยง
- enum_
parse - Parser for consuming and testing a single token. Takes a function and the stack as input. The input function should convert the token into the parse node.
- options_
parse - Trys different parsers from a list until one works. The first argument is the list of parsers, and the second is the stack.
- repeated_
parse - Uses a parser as many times as possible, then returns a vec of nodes