cd jimtcl emconfigure ./configure --without-ext="aio load signal" --disable-shared --disable-lineedit emmake make mv jimsh jimsh.bc emcc jimsh.bc -o jimsh.htmlNow load up the jimsh.html page in your browser (e.g., file:///home/user/jimtcl/jimsh.html). This page has a rudimentary dialog box for standard input. If you have time, you might try interfacing with one of the nicer repl webpages, see the Emscripten wiki for examples.aidanhs I created http://aidanhs.github.io/emtcl/ a while ago. It shows both Tcl and JimTcl running in the browser. In addition, it comes with an extension to Tcl for manipulating the dom with inline JS - https://github.com/aidanhs/emtcl/blob/master/opt/dom.c
- An event loop to process all Tcl events (timer events, fileevents, custom events)
- Client sockets. The socket -async ... command connects to websocket servers with the binary protocol. Then the resulting handle can be used to transmit binary data as with normal TCP sockets.
- The Tcl library: modules and packages in the Emscripten virtual filesystem. You can add your own packages!
- Proper initialization via Tcl_Init()