Add a graaljs REPL environment

Description

Graal.JS is a new JavaScript engine https://github.com/graalvm/graaljs and with CLJS-2745, we are testing ClojureScript compatibility with Graal.js.

ClojureScript could ship with a new REPL environment (compatible with cljs.main's --repl-env feature).

With this new REPL environment, Graal.js's polyglot capability can be enabled by default, thus allowing direct interaction with Truffle languages.

Here is an example, based on a spike into such a feature:

Over the long term, the graaljs REPL environment could be considered a modern replacement for the use cases currently satisfied by the nashorn REPL environment.

Nashorn will evidently be deprecated with Java 11: http://hg.openjdk.java.net/jdk/jdk11/rev/fb7800b66c92

Environment

None

Attachments

1

Activity

Show:
Completed

Details

Assignee

Reporter

Approval

Accepted

Patch

Code and Test

Priority

Created July 17, 2018 at 4:51 PM
Updated August 3, 2018 at 8:02 PM
Resolved August 3, 2018 at 8:02 PM