1
0
Fork 0

Initial working submission, without errors

This commit is contained in:
Vili Sinervä 2025-02-26 18:36:03 +02:00
parent b0154657d4
commit 051c264a23
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996
4 changed files with 17 additions and 13 deletions

View file

@ -29,6 +29,7 @@ pub fn compile(code: &str) -> String {
type_check(&mut ast, &mut SymTab::new_type_table());
let ir = generate_ir(&ast);
let assembly = generate_assembly(&ir);
general_purpose::STANDARD.encode(&assemble(assembly))
}