wip -- still working on binary expressions

This commit is contained in:
2025-11-24 22:13:49 -07:00
parent ae8199fa8c
commit 56f0e292b7
3 changed files with 47 additions and 22 deletions

View File

@@ -84,6 +84,14 @@ fn stress_test_negation_with_stack_spillover() -> anyhow::Result<()> {
compiled,
indoc! {
"
j main
main:
add r1 -1 -2
add r2 -5 -6
mul r3 -4 r2
add r4 -3 r3
mul r5 r1 r4
move r8 r5 #negationHell
"
}
);

View File

@@ -747,3 +747,4 @@ impl<'a, W: std::io::Write> Compiler<'a, W> {
Ok(())
}
}