Educational programming language re-implemented in Perl.
|
|
|
The robot can learn new commands
|
|
|
|
command right repeat 3 x left done # <- Here ends the repeat. end
command stairs while there's no wall forward left if there's no wall forward right # User-defined. done done end
command follow-right-hand while there's no mark right while there's a wall left done if there's no wall forward follow-right-hand # Recursion! done done end |
|
YAPC::EU | Cluj 2016 |