Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/d3lio/lexpar
- Owner: d3lio
- License: apache-2.0
- Created: 2017-07-03T19:50:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-25T20:41:19.000Z (almost 6 years ago)
- Last Synced: 2024-10-07T01:35:48.646Z (3 months ago)
- Topics: grammar, lexer, parser-generator, rust, stable-rust
- Language: Rust
- Homepage:
- Size: 87.9 KB
- Stars: 10
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
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`.