Project comes complete with needed NuGet packages. Just download and compile (VS2010 / .NET 4.0+)
||Clears the drawing surface and positions the turtle at the canvas center
||Draws a line <Number> pixels in current direction
||Draws a line <Number> pixels in opposite direction
||Turns direction <Number> degrees left
||Turns direction <Number> degrees right
|REPEAT <Number> [ <Commands> ]
||Repeats <Number> times the commands enclosed in [ ]
|MOVETO <Number> , <Number>
||Moves turtle to given position (X,Y)
The drawing canvas has its lower left corner as (0,0). The canvas size is (500, 400).
Only positive integer numbers are allowed.
TO <Routine name>
To call the routine, just refer to it by name.
To get started (from file \MhsLogoParser\MhsLogoTests\LogoExamples.txt)
REPEAT 4 [ FORWARD 100 LEFT 90 ]
REPEAT 4 [ FORWARD 100 RIGHT 90 ]
REPEAT 36 [ RECTANGLE RIGHT 10 ]
REPEAT 36 [
REPEAT 4 [
RIGHT 90 FORWARD 30 RIGHT 90 FORWARD 60 RIGHT 90 FORWARD 90 ]
RIGHT 15 ]
Please supply more examples as project grows in capability.