Doggo is an esoteric programming language created by stysan. The idea was to recreate Logo programming language in funny and creative way: you don't get an error, when after turtle down you type brr. That's it!
Commands
There are 7 commands in this language.
Comments are wrote like this:
--- comment
go
Example |
Output
|
forward 100 |
Turtle goes forward by 100px.
|
backward 100 |
Turtle goes backward by 100px.
|
to 50 70 |
Turtle goes to x: 50 and y: 70.
|
turn
Example |
Output
|
left 45 |
Turtle rotates left by 45 degrees.
|
right 90 |
Turtle rotates right by 90 degrees.
|
turtle, pen (it doesn't matter)
Example |
Output
|
up |
Pen up, you can't draw.
|
down |
Pen down, you can draw.
|
color |
Sets pen/turtle color.
|
hide |
Hides turtle: you can't see it.
|
show |
Shows turtle: you can see it struggling.
|
fill
Example |
Output
|
color |
Sets fill color.
|
start |
Starts fill.
|
end |
Ends fill.
|
label
Example |
Output
|
Hello World! |
Types "Hello World!" at turtle's position.
|
ishowspeed
Example |
Output
|
0 |
Makes turtle real fast - this works on turtle.speed(number) in Python.
|
Examples
Hello World
label Hello World!
Interpreter
Click this link: github.com/stysan/doggo
Categories