2023-04-08 20:12:35 +02:00
|
|
|
func main 1
|
|
|
|
with args
|
|
|
|
const str HW
|
|
|
|
Hello, world!
|
|
|
|
end HW
|
|
|
|
call println
|
2023-04-08 20:19:37 +02:00
|
|
|
call test
|
2023-04-08 20:12:35 +02:00
|
|
|
const mega 3
|
|
|
|
end
|
2023-04-08 20:19:37 +02:00
|
|
|
|
|
|
|
func test 0
|
|
|
|
call [
|
|
|
|
const func 5
|
|
|
|
const mega 0
|
|
|
|
const mega 1
|
|
|
|
const mega 2
|
|
|
|
const mega 3
|
|
|
|
const mega 4
|
|
|
|
end
|
|
|
|
call call
|
|
|
|
call ]
|
|
|
|
objcall iter
|
|
|
|
objpush
|
|
|
|
const func 1
|
|
|
|
const mega 5
|
|
|
|
call *
|
|
|
|
end
|
|
|
|
objpop
|
|
|
|
objcall map
|
|
|
|
objpush
|
|
|
|
const func 0
|
|
|
|
call _str
|
|
|
|
call println
|
|
|
|
end
|
|
|
|
objpop
|
|
|
|
objcall foreach
|
|
|
|
end
|