Stuart Axon
2014-02-28 22:16:55 UTC
I've been experimenting with bringing livecoding to shoebot, and have a proof of concept working.
https://github.com/shoebot/shoebot/tree/cmdline_reload
If you have shoebot running and the gedit plugin
There should be a new menu option 'Live Coding'
If it's selected and you run a bot it should update when you make changes (to a point, it's a bit buggy and sometimes it stops).
During livecoding, if you try and re-run a bot while it's running it will shut the original one and run a new one.
Caveats -
It only works for bots with draw() methods.
To do this properly needs some refactoring.
Sorry no video of it as I don't have screencasting working right now.
S++
https://github.com/shoebot/shoebot/tree/cmdline_reload
If you have shoebot running and the gedit plugin
There should be a new menu option 'Live Coding'
If it's selected and you run a bot it should update when you make changes (to a point, it's a bit buggy and sometimes it stops).
During livecoding, if you try and re-run a bot while it's running it will shut the original one and run a new one.
Caveats -
It only works for bots with draw() methods.
To do this properly needs some refactoring.
Sorry no video of it as I don't have screencasting working right now.
S++