Improved code generation

This commit is contained in:
Eduard Urbach 2024-07-09 17:00:04 +02:00
parent 6e22febc01
commit 3c189a025f
Signed by: eduard
GPG key ID: 49226B848C78F6C8
23 changed files with 201 additions and 95 deletions

12
tests/programs/param.q Normal file
View file

@ -0,0 +1,12 @@
main() {
syscall(60, f(1))
}
f(x) {
y := g()
return x + y
}
g() {
return 2
}