Translate

Image of Android Wireless Application Development
Image of Linux Kernel Development (3rd Edition)
Image of Modern Operating Systems (3rd Edition)
Image of Beginning Google Maps API 3

Using JavaScript Code Modules in Firefox 4 Add-Ons

This port discusses JavaScript code modules and how they can be used in Firefox 4 add-ons to simplify code and more easily access functionality.

V8 JavaScript Engine on Fedora 14

This post shows you how to build the two V8 JavaScript shells on Fedora 14 and modify them to support shebang functionality. It also shows you how to modify the samples shell to support command line history.

Updating the Fedora 14 JavaScript Shell

This post shows you how to build the Mozilla TraceMonkey JavaScript shell on Fedora 14. A number of examples are also provided to show you how to load and execute JavaScript scripts using this JavaScript shell.

JavaScript Shells

Recently I was working on a fairly complex JavaScript script relating to floating point conversions for a new Web page.  After a while I got tired on trying to debug the problem via a Web browser and decided to see if I could find a JavaScript shell, i.e. a standalone Javascript intrepreter just like Ruby’s irb, Python’s interactive prompt or the Korn shell, which could load and run JavaScript scripts from the command line without having to reload a Web page. First, some background on the JavaScript langauge for those who are unfamilar with the details.  JavaScript is a complex full-featured weakly