1
0
Fork 0
This repository has been archived on 2025-03-30. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
compiler-course/src/compiler.rs

10 lines
151 B
Rust
Raw Normal View History

2025-01-24 14:41:23 +02:00
mod ast;
mod parser;
2025-01-18 18:58:14 +02:00
mod token;
mod tokenizer;
pub fn compile(code: &str) {
2025-01-24 14:41:23 +02:00
let tokens = tokenizer::tokenize(code);
parser::parse(&tokens);
2025-01-18 18:58:14 +02:00
}