idents and numbers

This commit is contained in:
YannAhlgrim
2026-05-12 16:24:31 +02:00
parent 75f973a8ec
commit a1fc32d7a3
3 changed files with 45 additions and 5 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ fn main() {
let mut l = new(input.to_string());
for (i, tok) in (0..10).map(|_| l.next_token()).enumerate() {
println!("{}: {:?}", i, tok.type_);
for (i, tok) in (0..36).map(|_| l.next_token()).enumerate() {
println!("{}: {:?}", tok.type_, tok.literal);
}
}