Skip to content

anatawa12/sai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3,815 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sai

A fork of Rhino for fixRTM.

Warning about the API Stability

This project may make breaking changes every time. Please be careful to upgrade version of this.

Differences between Sai and Rhino

Features of this project

Custom line numbers and file names in the stacktrace

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#2

Compile to native class file and implement interface from a script object

This feature is to compile to class file with statical typing with type inference and get faster.

Limitations

  • if there's eval call 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.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors