Simplified compilation of function calls

This commit is contained in:
Eduard Urbach 2025-03-02 21:36:23 +01:00
parent c777d73bbb
commit 225d78e2d8
Signed by: eduard
GPG key ID: 49226B848C78F6C8
14 changed files with 114 additions and 97 deletions

View file

@ -0,0 +1,21 @@
import sys
main() {
x := 0
loop {
for 0..10 {
x += 1
}
assert x == 10
loop {
x -= 1
if x == 0 {
sys.exit(0)
}
}
}
}