Feeds

Mozilla Labs pops out JavaScript language tool for coders

Two heads are better than one. Just ask Beeblebrox

Boost IT visibility and business value

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. ®

The Essential Guide to IT Transformation

More from The Register

next story
Secure microkernel that uses maths to be 'bug free' goes open source
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
KDE releases ice-cream coloured Plasma 5 just in time for summer
Melty but refreshing - popular rival to Mint's Cinnamon's still a work in progress
Leaked Windows Phone 8.1 Update specs tease details of Nokia's next mobes
New screen sizes, dual SIMs, voice over LTE, and more
Another day, another Firefox: Version 31 is upon us ALREADY
Web devs, Mozilla really wants you to like this one
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
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.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
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.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.