Initial working submission, without errors
This commit is contained in:
parent
b0154657d4
commit
051c264a23
4 changed files with 17 additions and 13 deletions
|
@ -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))
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue