LOGO,TURTLE like interpreter , built on top of java for learning and practical implementation of mechanism of a interpreter.
Explore the repo »
.
Report Bug
Version code - v0.0.1 Work under progress
Started on 8th Nov,2020. Latest Log 20 nov, 2020;
- Mini error suggestor(Partially done)
- Work on parser
1.Simple doo lexer ,for tokenizing source code.
frd:70; //Move doo forward 70 units , making 0 degree angle with Y-axis(normal on x axis)(Default direction)
bkd:20; //Move backwards, towards -y axis ,0 degree with Y axis
rt:90; //turn right, making 90 degree agle wrt y-axis , rt:-90; or rt:270 == lt:90;
frd:50;
lt; //turn left , making 90 degree angle wrt x-axis(default angle values resp. to direction)
Output: Taking 1 '|' = 10 UNIT AND '--' = 10 UNIT
|>-----------^
|
|
|
|