Tcl in the Web Browser Expertiment

This is just an expertiment to see if Tcl could be used as an embeddable client-side language in web browsers. It works by having JavaScript parse script tags of type "text/tcl" and then execute their contents via a Tcl interpreter. The Tcl interpreter is a port of Picol.

I've changed the "puts" command to print to the console, so you'll have to bring up your developer tools to see all of the output. View the source to see the code being executed.

Divs that are being modified by Tcl code: