musictheory / NilScript

Objective-C-style language superset of JavaScript with a tiny, simple runtime
Other
50 stars 5 forks source link

ECMAScript 6 support #37

Closed iccir closed 9 years ago

iccir commented 9 years ago

Currently, oj is a superset of ECMAScript 5.1. Eventually, it should be a superset of ECMAScript 6.

At the very least, all ES6 additions should parse and pass through the transpiler (when output-language is ecmascript6) without warnings.

As ES6 gains more browser support, we could also take advantage of ES6 features (such as classes) in the generated JavaScript code.

iccir commented 9 years ago

Blocked by #38

iccir commented 9 years ago

This is covered by #38, which is on the 1.2 branch.