On 01.02.2014, at 00:15, David T. Lewis lewis@mail.msen.com wrote:
On Fri, Jan 31, 2014 at 11:24:33PM +0100, Bert Freudenberg wrote:
There should be a SimulatorMorph that holds onto the simulator itself and embeds the image morph. That could present a nice UI, and could either handle events itself, or register event handlers with the image morph. If you need UI ideas I suggest you try my SqueakJS morph (which essintially is also a VM simulator): http://lively-web.org/users/bert/squeak.html It's a shame we never bothered to make the simulator this nice ;)
+1
It would be great if someone were to take inspiration from Bert's SqueakJS morph and do something similar for the traditional VM simulators.
Personally, it's inspiring me to want to learn about JS some day soon. That lively VM is seriously impressive.
Dave
Thanks :) I must give credit where credit is due: This was a lot easier to do in Lively than if I had done it in vanilla HTML+Javascript. Almost as easy as if I had done it in Squeak ;)
- Bert -