Implemented package imports

This commit is contained in:
2024-07-18 18:08:30 +02:00
parent fa373e7dc2
commit b34470a97d
21 changed files with 510 additions and 353 deletions

View File

@ -1,3 +1,5 @@
import sys
main() {
x := 10
@ -175,13 +177,13 @@ main() {
fail()
}
exit(0)
success()
}
fail() {
exit(1)
sys.exit(1)
}
exit(code) {
syscall(60, code)
success() {
sys.exit(0)
}