Mascara: Next Generation JavaScript compiler

Try it Download Buy About Documentation Blog Contact

Mascara documentation

Mascara is a compiler that translates ECMAScript 6 into Classic JavaScript, thereby giving web developes access to powerful, time-saving features of the future, today.

Reference

Keywords - New Syntax - Built-in types

Language features overview

This documentation is intended as technical reference, and focus on the features which is not part of Classic JavaScript. It is not intended as a general tutorial to JavaScript.

The major features are:

Types - Mascara ECMAScript supports optional type annotation and a powerful type system.

Classes and Interfaces with Access modifiers.

Getters and Setters

Nullability

Constants

There is also a number of syntactic improvements:

Destructuring assignments

Array comprehensions

For each loops

Triple quoting

Readable regular expressions

Using Mascara

Getting started

Configuring your editor

On the fly translation