Version 7 of javascript

Updated 2007-09-01 08:44:11

This is a module in the tcllib library of Tcl code. Its purpose is to aid developers in generating HTML and JavaScript code. Related modules are ncgi and html.

Documentation can be found at http://tcllib.sourceforge.net/doc/javascript.html .


"JavaScript" is primarily, of course, the language which Tcl's javascript module targets. [Say a few words on JavaScript as a language.]

Zarutian 28. janúar 2007: Glad to obligate. Javascript is an devartive of ECMAscript and is an causin to ActionScript which is used in Adobe (former Macromedia) Flash. Javascript is heavily object oriented prototype based system rather than class based. And is therefore similiar to Lua in that regard that objects can obtain new methods and member variables. Ajax is actualy Javascript code that relies heavily on XMLPostRequest component and its callbacks. More about javascript I dont know.

"Introduction to JavaScript" [L1 ] is a March 2006 ETech tutorial.


JavaScript and Tcl have a special relation: both at Sun and Netscape (Mosaic, originally), the two were in strategic competition. Roger Binns [[email protected]] originally embedded a Tcl interpreter in the Mosaic browser; "details are in the proceedings of the 2nd WWW [C]onference". He writes about this that, "The audience were in awe of a demo that printed an entire book based on following the rel links in web page headers, got everything in the right order, loaded the pages and printed".

Netscape chose JavaScript, though.


Category Package, subset Tcllib