Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/d3lio/lexpar

Lexer and Parser generator
https://github.com/d3lio/lexpar

grammar lexer parser-generator rust stable-rust

Last synced: about 2 months ago
JSON representation

Lexer and Parser generator

Awesome Lists containing this project

README

        

# lexpar

Lexer and parser crate for stable Rust.

[Documentation](https://docs.rs/lexpar)

## Usage

Add `lexpar` as a dependency in your `Cargo.toml`:

```toml
[dependency]
lexpar = "^0.1.0"
```

Then add this snippet to your crate's root:

```rust
#[macro_use]
extern crate lexpar;
```

## Examples

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