1
0
Fork 0

Add very minimal +/- binary op parsing

This commit is contained in:
Vili Sinervä 2025-01-24 14:41:23 +02:00
parent dec0a0e154
commit ffc0e812a2
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996
5 changed files with 159 additions and 10 deletions

View file

@ -1,6 +1,9 @@
mod ast;
mod parser;
mod token;
mod tokenizer;
pub fn compile(code: &str) {
tokenizer::tokenize(code);
let tokens = tokenizer::tokenize(code);
parser::parse(&tokens);
}