Feeds

Mozilla Labs pops out JavaScript language tool for coders

Two heads are better than one. Just ask Beeblebrox

Top 5 reasons to deploy VMware with Tegile

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

Top 5 reasons to deploy VMware with Tegile

More from The Register

next story
Be real, Apple: In-app goodie grab games AREN'T FREE – EU
Cupertino stands down after Euro legal threats
Download alert: Nearly ALL top 100 Android, iOS paid apps hacked
Attack of the Clones? Yeah, but much, much scarier – report
Microsoft: Your Linux Docker containers are now OURS to command
New tool lets admins wrangle Linux apps from Windows
Bada-Bing! Mozilla flips Firefox to YAHOO! for search
Microsoft system will be the default for browser in US until 2020
Facebook, working on Facebook at Work, works on Facebook. At Work
You don't want your cat or drunk pics at the office
Soz, web devs: Google snatches its Wallet off the table
Killing off web service in 3 months... but app-happy bonkers are fine
prev story

Whitepapers

Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
5 critical considerations for enterprise cloud backup
Key considerations when evaluating cloud backup solutions to ensure adequate protection security and availability of enterprise data.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Business security measures using SSL
Examines the major types of threats to information security that businesses face today and the techniques for mitigating those threats.