summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorNadrieril2019-02-27 19:31:19 +0100
committerNadrieril2019-02-27 19:31:19 +0100
commit8680920be83ecff0aaf6472b78599bb9108272a7 (patch)
tree6f0d93c31bb7ee00acccd620248025d9d79754e9 /src/lib.rs
parent849a1e59a9cd1fbd91a4fa64b027d720ff63ff2c (diff)
Add one test from the spec
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
new file mode 100644
index 0000000..8f82c61
--- /dev/null
+++ b/src/lib.rs
@@ -0,0 +1,11 @@
+#![feature(box_patterns)]
+
+pub mod context;
+mod core;
+pub use crate::core::*;
+use lalrpop_util::lalrpop_mod;
+lalrpop_mod!(pub grammar); // synthesized by LALRPOP
+mod grammar_util;
+pub mod lexer;
+pub mod parser;
+pub mod typecheck;