A bunch of prerequisites before we can do arrays, part 1

This commit is contained in:
2023-11-12 23:03:45 -06:00
parent db15f28adc
commit 21af891574
17 changed files with 102 additions and 61 deletions
+2
View File
@@ -46,7 +46,9 @@ pub fn build_boot(src: &str) -> Result<Vec<String>, CompileError> {
}
for (_, val) in state.functions.iter_mut() {
asm.push(format!("{}:", val.label));
asm.append(val.preamble.as_mut());
asm.append(val.body.as_mut());
asm.append(val.outro.as_mut());
}
// Final thing is to place a label for the stack: