More about the release in the blog.
Mascara is a tool that extends JavaScript with powerful ECMAScript 4 features like classes, namespaces and type-checking - and translates it to "lowest common denominator" object code, which will run in any browser.
Read more
ECMAScript 4 is the next generation of JavaScript, and is beeing 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 ECMAScript 4 editor below, or try some of the samples. Click Translate to generate corresponding JavaScript code.
If the fancy code editors doesn't work in your browser, try the non-fancy version
Try code sample:
Meditating...|
ECMAScript 4
|
Generated Javascript 1.2
|
|---|---|
|
| |
|
Show compiler settings
|
The translator is a Python program running on the server.
The syntax-coloring javascript editor is courtesy of CodePress. Code samples adapted from the presentation Tamarin and ECMAScript 4 [PDF] by John Resig.
Comments to: olav@olav.dk