Rust Parser v1

This commit is contained in:
2019-05-23 16:01:12 +02:00
parent 32b35602fb
commit a14f145856
8 changed files with 2379 additions and 0 deletions

22
Cargo.toml Normal file
View File

@@ -0,0 +1,22 @@
[package]
name = "parser"
version = "0.1.0"
authors = ["Lionel Sambuc <lionel.sambuc@gmail.com>"]
edition = "2018"
build = "build.rs" # LALRPOP preprocessing
[lib]
name = "parser"
path = "src/lib.rs"
[[bin]]
name = "parser-driver"
path = "src/main.rs"
[dependencies]
lalrpop-util = "0.17.0"
regex = "0.2.1"
[build-dependencies]
lalrpop = "0.17.0"