Syntax:
R::=SSSS
No spaces, only one operand on the left
All operands must be single-letter
Built-in symbols:
F: draw forward 1
[: push current location and direction on stack
]: pop stack, return turtle
+: turn right
-: turn left
Rules(one per line):
A::=C[+B][-B] B::=FA C::=JJF J::=K K::=L L::=C
Output:
Turn by (degrees):
Start string: