/lexpar

Lexer and Parser generator

Primary LanguageRustApache License 2.0Apache-2.0

lexpar

Lexer and parser crate for stable Rust.

Documentation

Usage

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;

Examples

Run a specific example with cargo run --example <name> where name can be either ml or rust.