The project started about February 2011.
apw 2011-05-08: today I finally succeeded to parse and create the first simple itcl class and instantiate an object. Using the object to call a class method works too, but there is no class resolving/protection check yet. The mechanism for that is foreseen, but not yet completely implemented (to be done next).
apw 2011-05-15: parsing of itcl class constructor, destructor and variable/common parts now working, inheritance for classes working, variable and command resolution for itcl classes working. (working here means the first tests are running successfully, still a lot of work to make that completely running ok).
I have decided to implement a simple version of a test framework like the Tcl tcltest command (a small subset thereof) to be able to run for example itcl test suite parts (I hope most of them should work when implemented, which means the corresponding code for itcl can be implemented). First (very small) version of ::tcltest and some of the sub commands thereof as ensemble commands are implemented and running.
Implementation of trace add execution is done and the functionality is working for enter/enterstep/leave/leavstep for Tcl commands(procs) and itcl methods.
apw 2011-06-22: precompiling makes progress splitting up into Tcl statements and words mostly done (code is now over 12.000 LOC)
apw 2011-06-28: first mini demo generating a button and an entry (html input) element in the browser using Tk syntax "button .b" and "entry .e1" and making them visible with pack command "pack .b1 .e1"
apw 2011-07-02: Tk entry command with bind (example Key-Return) works and also general mechanism for Tk (widget-)object commands is implemented and running.
apw 2011-07-03: Implemented "interp alias" command (with current interp only) so the normal Tk commands like button are available, as they now are implemented as a namespace ensemble commands in ::tk namespace.
In the Tcl Source Code widget there is the Tcl source code, used for the demo, the second shows the "real" code needed without the filling of the widgets with data.
An itcl class with inheritance and some execution and variable traces:
A "mini" test suite using a tcltest command very similar to the original. Not all test cases are running with success!
A list of small examples (the parts of the test suite), which handle mostly "corner cases" and code parts having problems during the implementation:
Googie 2011-08-08: This looks very interesting. Is there possibility to run some examples out of box? I mean is there any example ready to use, so I just click on the link to see it? I saw examples in source directory but I'm not sure how to configure environment for it.
apw 2011-08-08: Sorry there is no standard demo yet. I will try to enhance the README file in examples_for_firefox and I will try to setup a demo on a server on a host I have so you can see a working example soon.
Ro Where do I download this or try a demo on a live web server?
vkvalli - 2013-07-25 05:03:23
Using this technology, they have ported C binaries to browser. Example, games, sqlite etc.
Now all that is required is, we need to build Tcl from llvm target, rather than native machine. It seems , gcc has an option to build for llvm target.
It seems the future is in this direction.