aroberge / reeborg

Enhanced Karel-the-robot clone
http://reeborg.ca/reeborg.html
Other
47 stars 36 forks source link

pre code not run from repl #230

Closed aroberge closed 8 years ago

aroberge commented 8 years ago

When loading a World, the pre_code is not executed. Using the REPL, we need to be explicit about what code to run. One useful feature would be to add two functions like run_pre and run_post which would run the pre and post code of the world. Perhaps these could be only available from the repl.