Is there a simple way to implement an interactive console to the emulator?
Possibly - I think you can get called back whenever you get data from the emulator, and then you could pass that on (same with injecting characters in). It is possible to serve up an iframe with a websocket server, and then you can link it to the IDE and have it magically work that way. A lot of work though!
I guess this would be a benefit of your JS-only approach - you could just copy/paste the code in the IDE and see what happened.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
That's great, thanks!
Possibly - I think you can get called back whenever you get data from the emulator, and then you could pass that on (same with injecting characters in). It is possible to serve up an iframe with a websocket server, and then you can link it to the IDE and have it magically work that way. A lot of work though!
I guess this would be a benefit of your JS-only approach - you could just copy/paste the code in the IDE and see what happened.