Mascara: Next Generation JavaScript compiler

Try it Download Buy About Documentation Blog Contact

News

Mascara now support code completion. Try enabling it in the editor box below, by clicking on the "magic wand"-icon leftmost in the toolbar.

More about it in the blog.

Mascara enhances JavaScript with powerful features like classes, namespaces and type-checking. It compiles the enhanced JavaScript into "lowest common denominator" object code, which will run in any browser.
Read more

The enhancements are based on ECMAScript Harmony, the next generation of JavaScript, developed by ECMA International with participation by Mozilla, Apple, Adobe, Microsoft and others. Mascara makes the JavaScript of the future available today.

Try it: Write some code in the editor below, or try some of the samples. Click Translate to generate corresponding JavaScript code.

Try code sample:


Compiling...

Loading editor...
Mascara JavaScript
Show compiler settings

The syntax-coloring JavaScript editor is courtesy of EditArea. (If it doesn't work in your browser, try the non-fancy version)

Comments to: olav@olav.dk