diff options
| author | Edvard Thörnros <edvard.thornros@gmail.com> | 2021-01-09 12:34:46 +0100 |
|---|---|---|
| committer | Edvard Thörnros <edvard.thornros@gmail.com> | 2021-01-09 12:34:46 +0100 |
| commit | e0e0ac9ea0d893442a0c5806353ebbddb8f905b4 (patch) | |
| tree | 04cd58a9fa202a974d1a54f9ceed9382aec042c1 /src/main.rs | |
| download | sylt-e0e0ac9ea0d893442a0c5806353ebbddb8f905b4.tar.gz | |
Parsing numbers and inital commit
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..576ca20 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,11 @@ +mod tokenizer; + +fn main() { + println!("Hello, world!"); + + let tokens = tokenizer::file_to_tokens("tests/simple.tdy"); + + for token in tokens.iter() { + println!("| {:?}", token); + } +} |
