Lexer and parser crate for stable Rust.
Add lexpar
as a dependency in your Cargo.toml
:
[dependency]
lexpar = "^0.1.0"
Then add this snippet to your crate's root:
#[macro_use]
extern crate lexpar;
Run a specific example with cargo run --example <name>
where name can be either ml
or rust
.