diff options
Diffstat (limited to 'src/lang/mod.rs')
-rw-r--r-- | src/lang/mod.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lang/mod.rs b/src/lang/mod.rs new file mode 100644 index 0000000..8256f34 --- /dev/null +++ b/src/lang/mod.rs @@ -0,0 +1,12 @@ +pub mod tokenizer; +pub use self::tokenizer::Tokenizer; + +pub enum Token { + Ident(String), + Integer(isize), + Float(f32), + Oper(char), + String(String), + EOF, +} + |