# loadn 1 # setv "value1" value1 = 1 # loadn 2 # setv "value1" value1 = 2 # loadb true # setv "value2" value2 = true # loadnull # setv "value3" value3 = null # loads "hello world" # setv "value4" value4 = "hello world" # loads "hello" # loads "world" # loadn 5 # list 3 # setv "value5" value5 = ["hello", "world", 5] # loads "hello" # loads "world" # loads "value" # loadn 23 # map 4 # setv "value6" value6 = {"hello": "world", "value": 23} # loadf 1 // loadf1 begins at once, because the file body itself is function 0 # setv "value7" value7 = fn () {} # loadf 2 # setv "value8" value8 = fn (value) {} # loads "hello" # loads "world" # loads "sayHello" # loadf 3 # map 4 value9 = { "hello": "world", "sayHello": fn() { } } # loadv "value9" # loadm "hello" # mindex # setv "str" str = value9["hello"] # loadv "value9" # loadm "sayHello" # mindex # callf 0 value9["sayHello"]() # loadv "value1" # loadn 23 # add # setv "value1" value1 = value1 + 23 # loadca "curl" # loadca "https://example.com" # callc 2 # setv "response" response = $(echo hello world) # compile error (empty command): $()