Add basic binary expression support

Current implementation is placeholder. Assembly is generated by mr. chat and is currently unchecked.
Also only 64 bit ints are supported
This commit is contained in:
nub31
2025-01-26 23:20:16 +01:00
parent c20981e4cb
commit 9b4608a259
5 changed files with 201 additions and 7 deletions

View File

@@ -4,10 +4,7 @@ let STD_OUT = 1;
let STD_ERR = 2;
func main() {
let x = "test\n";
write(x);
x = "uwu\n";
write(x);
let x = 5 * 5 + 5;
}
func write(msg: String) {