Sorry for such a late response, my laptop broke and I had to reset up everything from scratch on a new machine.
So one of my goals here was to get the REPL to be accessible over websockets. I tried the following as suggested, and it resulted in the program emitting the following error messages over websockets to my webIDE.
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.
Sorry for such a late response, my laptop broke and I had to reset up everything from scratch on a new machine.
So one of my goals here was to get the REPL to be accessible over websockets. I tried the following as suggested, and it resulted in the program emitting the following error messages over websockets to my webIDE.
complete code
Error transmitted over websockets continually until program is forced to stop
The exact error msg is the following
I'm not sure what I'm doing wrong. Any insight? line 19 is just closing braces.