Python Forum

Full Version: logo language code into python
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Do anyone remember logo language...I want to create and use similar commands using python
Does the Turtle module help? https://docs.python.org/3/library/turtle.html
Otherwise, I'd love more info on what you're looking for.
I remember LOGO. It was implemented in lisp with turtle graphics. It became popular as a tool to teach programming to children. I tried it in the eighties (oh, dear! 40 years ago). It had a very peculiar syntax.
PENDOWN
FORWARD 100
RIGHT 90
BACK 50
PENUP
But you could do pretty complicated calculations and even symbolic stuff.
Quite a job if you intend to implement the whole LOGO language. I also remember that there were a whole bunch of very different implementations and no standard.
But then again, as said, python has a module for turtle graphics...