DEV Community

Carlos Kassab
Carlos Kassab

Posted on Edited on

jssrepl - GraalVM JavaScript Polyglot Context interactive shell

Using jssrepl, you can evaluate your GraalVM javascript code.

This repl was built based on Scala and R REPL, Similar functionality.

Repo: https://github.com/LaranIkal/jssrepl
Enter fullscreen mode Exit fullscreen mode
js> 6 * 7
42
js> "hello".toUpperCase()
"HELLO"
js> parameters[0]
"/home/you/Apps/jssrepl"
js> :quitjs>
Enter fullscreen mode Exit fullscreen mode
js> load(parameters[0] + '/scripts/helloworld.jss')
Call The Function, type:helloworld()
...
js> helloworld()
"Hello World!!!"
js> 
Enter fullscreen mode Exit fullscreen mode

Top comments (0)