diff options
| author | nic-gaffney <gaffney_nic@protonmail.com> | 2023-04-10 18:34:26 -0500 |
|---|---|---|
| committer | nic-gaffney <gaffney_nic@protonmail.com> | 2023-04-10 18:34:26 -0500 |
| commit | 0d468f0b4808167fb507f10d71552657872e7018 (patch) | |
| tree | 0787ee73857e310b5b159b11db36b9011e82c565 | |
| parent | c458e9f46afcd04445dcb35d1fd9e2a85a451937 (diff) | |
| download | sloth-0d468f0b4808167fb507f10d71552657872e7018.tar.gz | |
some token stuff ig
| -rw-r--r-- | crates/sloth/src/main.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/crates/sloth/src/main.rs b/crates/sloth/src/main.rs index 6502f19..1bffa73 100644 --- a/crates/sloth/src/main.rs +++ b/crates/sloth/src/main.rs @@ -29,10 +29,8 @@ fn main() { return; }; - let lexer = Lexer::new(&source); - for token in lexer { - println!("{token:?}"); - } + let tokens = Lexer::new(&source).collect_vec(); - // TODO: + // TODO: Write a parser } + |
