added parser for v1 (calculator with no types)

This commit is contained in:
Andrew Segavac
2020-04-08 00:04:36 -06:00
parent 7e8287c6cb
commit 76c539cf5c
10 changed files with 926 additions and 4 deletions

15
Cargo.toml Normal file
View File

@@ -0,0 +1,15 @@
[package]
name = "boring-lang"
version = "0.1.0"
authors = ["asegavac"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies.lalrpop] # <-- We added this and everything after!
version = "0.18.1"
features = ["lexer"]
[dependencies]
lalrpop-util = "0.18.1"
regex = "1"