A fork of Rhino for fixRTM.
This project may make breaking changes every time. Please be careful to upgrade version of this.
- Make similar to Nashorn, a ECMAScript runtime by OpenJDK
- Nashorn-like type resolving and method overload resolving
- Access to java primitive wrapper's methods from primitive values
- Features for fixRTM
This feature is to support //include comment directive by RTM.
This feature adds //#sai-directive#line <line> <source-name> preprocessor-like directive.
this directive works like shown below:
// here's main.js#1
//#sai-directive#line 0 other-script-1.js
// here's other-script-1.js#1
//#sai-directive#line 1
// here's main.js#2This feature is to compile to class file with statical typing with type inference and get faster.
- if there's
evalcall in the functions can be called, it's not possible to know which type can be assigned to a variable so this feature cannot be supported.