EmTcl Test Page
This is a simple test page for running Tcl in the browser on the client side, courtesy of emscripten.
The box on the left holds input, the right holds output. You can
- Hit 'Run!' to evaluate, inspect output, tweak input and re-run.
- Hit Ctrl+Enter to use it in a more repl-like manner (which will clear the input box and generally make a vague effort to be a bit like tclsh).
You have two implementations to choose from - Tcl and JimTcl. Tcl (not JimTcl) comes with a toy library for changing attributes and styles of DOM elements. See the dom command example lines.
#dom-playground
div#dom-a
div#dom-b
div.dom-child
div#dom-c
- ul.dom-subchild
- li
- li
div#dom-d
span.dom-subchild
span.dom-subchild