parseManager/parsetest3.txt
Ryan Ward f180fef6fb Massive changes to this.
Now compiles code then runs it! Total engine overhaul
2018-06-09 15:04:21 -04:00

32 lines
454 B
Plaintext

ENABLE leaking
[TEST]{
"Jump was successful!"
--GOTO("HERE")
}
[START]{
"Test 1:"
t=15
test=2*100
"test = $test$"
c=5
::HERE::
a,b="sdf",true
"a,b,c = $a$ $b$ $c$"
food="yum"
test=true
stop=21
"food = $food$"
"test = $test$"
"stop = $stop$"
"Test 2:"
count=0
::loop::
"Count = $count$"
count=count+1
if count>10 then GOTO("end")|GOTO("loop")
::end::
"Done!"
QUIT()
}
-- (count==stop and name=="bob") ? GOTO(end) : GOTO(loop)