ECMAScript 6 compiler and runtime written in Java.
Goals:
- Provide a test environment for the most recent ES6 drafts
Non-Goals:
- Fast, optimized ECMAScript 6 runtime or Java interoperability
[ECMAScript 6 draft rev. 21] es6drafts.
[ECMAScript Internationalization API 2.0, draft 2013-02-28] intldrafts:
- basic support using the [ICU4J] icu library
- subclassing intentionally restricted to ES6 classes
The following environment variables need to be set to run the test cases:
TEST262_PATH
: test262 main directoryMOZILLA_PATH
: mozilla-central main directoryV8_PATH
: v8 main directoryTRACEUR_PATH
: traceur main directory
Alternatively skip the tests with mvn -DskipTests=true package
.
To start the shell, use ./bin/es6draft
(or .\bin\es6draft.bat
on Windows®).