graal-js JSR 233 scripting engine?
Jaroslav Tulach
jaroslav.tulach at oracle.com
Fri Jan 5 09:12:56 UTC 2018
Hello Adam,
it does work...
On čtvrtek 4. ledna 2018 23:54:00 CET Adam McMahon wrote:
> Hi,
>
> I am plan to experiment swapping nashorn with graal-js on a few pet
> projects.
>
> Does Graal-JS (and other graal languages) implement JSR 223 scripting API
> or a similar API? I can't find any documentation on this. Is there a plan
> for this in the future?
I tried to run my hobby project [Bck2Brwsr](http://github.com/jtulach/
bck2brwsr) on top of latest GraalVM 0.30 JDK. Just by running on top of the
GraalVM JDK the Graal.js implementation of ScriptEngine is picked up and used.
It does run. There are one or two bugs showing incompatibilities with Nashorn,
but majority of JavaScript/Java interop features works fine.
If your project uses ScriptEngine & co., just execute it on GraalVM and
Graal.js shall be picked for you up as well.
-jt
More information about the graal-dev
mailing list