From 852b2399e7b53e1d349aed5ec9fb6550b117825c Mon Sep 17 00:00:00 2001 From: bnewbold Date: Fri, 16 Sep 2016 21:40:50 -0700 Subject: rust parser with LALRPOP: pascal example This is all just code from the LALRPOP library docs. --- Cargo.toml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Cargo.toml (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..01612ff --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,19 @@ +[package] +name = "modelthing" +version = "0.1.0" +authors = ["bnewbold "] +build = "src/build.rs" # eg, LALRPOP preprocessing + +[build-dependencies] +lalrpop = "0.12.0" + +[dependencies] +getopts = "^0.2" +toml = "0.2" +log = "0.3" +env_logger = "0.3" +lalrpop-util = "0.12" + +# parser util +rustc-serialize = "0.3" +docopt = "0.6" -- cgit v1.2.3