summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/main.rs b/src/main.rs
index 5e071b0..5b343ec 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,13 +1,6 @@
-#[macro_use] extern crate lazy_static;
-extern crate regex;
-
-pub mod lexer;
+pub mod ast;
+pub mod taiga;
fn main() {
- println!("Hello, world!");
- let s = "let x = 5 in x end end ";
- let lex = lexer::Lexer::new(s);
- for token in lex {
- println!("{:?}", token);
- }
+ println!("{:?}", taiga::parse_Program("5"));
}