- rkeene, Tcl Chatroom, 2018-05-30
See Also edit
- a compiler that targets ECMAScript. It has been used to succesfully compile both Tcl, Jim, and Picol.
- a scripting language that shares some traits of ECMAScript, including objects that can obtain new methods and member variables
- ncgi and html
- tcllib modules for generating HTML and ECMAScript code.
- tcljs (NJS)
- tcljs (SpiderMonkey)
- Tcl bindings for SpiderMonkey
ECMAScript is a scripting language with a built-in prototype-based object system.
] originally embedded a Tcl interpreter in the Mosaic browser; "[d]etails 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".
- Is Perl *that* good? (was: How's ruby compare to it older bro, python mailing list 2004-04.
Learning ECMAScript editJenglish
, Tcl Chatroom
, 2013-10-15, recommends reading through the annotated source code of UNDERSCORE.JS
to see how they do things
Evaluating ECMAScript from Tcl editNEM
, the web-browser built on top of TkHTML
comes with a binding to the SEE ECMAScript Interpreter library. Secondly, I also have a very quick/simple binding to the NJS interpreter library available from [1
: Another option is tcljs
. It can be used to embed spidermonkey in a Tcl application.
It can be used in combination with tcljspac
to process proxy.pac
Yet another option for bindings to SpiderMonkey
Testing ECMAScript edit
Anyone who has read this far will probably want to know about Zombie
, created for automatic testing of ECMAScript-coded applications (more than that, really; it also knows about CSS
, ...). It's of broader interest, though, mostly in directions where Tclers swarm: automation, Web scraping
analysis, ... Zombie is open source
, of course, and a nice model for at least a few techniques that are useful in Tcl-oriented testing