diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..5e071b0 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,13 @@ +#[macro_use] extern crate lazy_static; +extern crate regex; + +pub mod lexer; + +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); + } +} |