Feeds

Mozilla Labs pops out JavaScript language tool for coders

Two heads are better than one. Just ask Beeblebrox

The Power of One Brief: Top reasons to choose HP BladeSystem

Mozilla has released a JavaScript engine strictly for testing purposes to allow web developers to gain deeper access to – and better understanding of – the code underpinning its browser.

The Narcissus engine and Zaphod script look-up tool have been added to Mozilla Labs to help the open source outfit develop new ideas for the JavaScript language.

“What features should we add to JavaScript? What should the syntax/semantics be? What practical issues will come up that we have not considered so far? With Narcissus and Zaphod, we can more easily answer these questions,” said Mozilla’s Tom Austin.

“In programming language (PL) research, we like to write up fancy evaluation rules containing lots of Greek letters. Unfortunately, these rules tend to be inscrutable to anyone who isn’t a PL researcher. Even for PL researchers, there is something unsatisfying about seeing a bunch of rules on a piece of paper.”

By releasing the Narcissus Javascript engine, which is based on simpler code and is much less affected by the changing browser code base, Mozilla hopes to get more people testing the software.

Meanwhile, Zaphod doggedly searches for scripts with a tag of “application/narcissus” and parses them with Narcissus. Mozilla’s factory line JavaScript engine SpiderMonkey ignores the tag.

“But we might also want to see how the implementation would work on a pre-existing page. Click on the mozilla icon in the bottom right corner and Narcissus will be set as the default JavaScript interpreter. After experimenting, click on the icon again and SpiderMonkey will be reset as your JS implementation,” said Austin.

“Zaphod/Narcissus cannot yet handle some of the more JavaScript-heavy pages, but it can handle enough to be a valuable research tool for JavaScript language hackers.”

This way for more about the JavaScript experiment. ®

Securing Web Applications Made Simple and Scalable

More from The Register

next story
Whoah! How many Google Play apps want to read your texts?
Google's app permissions far too lax – security firm survey
Chrome browser has been DRAINING PC batteries for YEARS
Google is only now fixing ancient, energy-sapping bug
Do YOU work at Microsoft? Um. Are you SURE about that?
Nokia and marketing types first to get the bullet, says report
Microsoft takes on Chromebook with low-cost Windows laptops
Redmond's chief salesman: We're taking 'hard' decisions
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
Big Blue Apple: IBM to sell iPads, iPhones to enterprises
iOS/2 gear loaded with apps for big biz ... uh oh BlackBerry
OpenWRT gets native IPv6 slurping in major refresh
Also faster init and a new packages system
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.
Mobile application security vulnerability report
The alarming realities regarding the sheer number of applications vulnerable to attack, and the most common and easily addressable vulnerability errors.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.