Crate simple_ll

Source
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