Update lisp lexer

This commit is contained in:
Dominic Grimm 2022-07-17 22:07:59 +02:00
parent ffad349a41
commit dd23759f85
No known key found for this signature in database
GPG key ID: A6C051C716D2CE65
9 changed files with 110 additions and 24 deletions

View file

@ -23,7 +23,8 @@ fn main() {
match args.commands {
Commands::Lex { src } => {
let source = fs::read_to_string(src).unwrap();
println!("{source}");
let tokens = lexer::lex(source).unwrap();
dbg!(tokens);
}
}
}