55 lines
680 B
Plaintext
Executable File
55 lines
680 B
Plaintext
Executable File
// don't execute this :-)
|
|
def test_proc: {
|
|
x := +1;
|
|
while true:
|
|
print false;
|
|
if x == 1: {
|
|
print x * x;
|
|
} else: {}
|
|
invoke test_proc;
|
|
break;
|
|
if 0-x/y*z - y * z - 2*x + 3 == 2 && true != false: {}
|
|
move;
|
|
jump;
|
|
eat;
|
|
fire;
|
|
}
|
|
|
|
def secondProc: {
|
|
invoke test_proc;
|
|
if getx self > 0:
|
|
invoke secondProc;
|
|
}
|
|
|
|
x := ( 3 * 4 ); // comment
|
|
// comment
|
|
y := (-33.5 * (+55 / 1.22));
|
|
|
|
jump;
|
|
turn 5;
|
|
turn 0.2;
|
|
turn -0.2;
|
|
fire;
|
|
|
|
if (x >= 5):
|
|
{ }
|
|
else
|
|
fire;
|
|
|
|
while y:
|
|
{ turn (0.01);
|
|
y := (y - 1); }
|
|
|
|
while y:
|
|
{ move;
|
|
y := (y - 1);
|
|
if (true): { turn y; }
|
|
else {
|
|
while (false):
|
|
{print y;}
|
|
}
|
|
}
|
|
|
|
if (true): { } else { invoke test_proc; }
|
|
|