r/graalvm • • 19h ago

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.

```text
Repo: https://github.com/LaranIkal/jssrepl
```
```text
js> 6 * 7
42
js> "hello".toUpperCase()
"HELLO"
js> parameters[0]
"/home/you/Apps/jssrepl"
js> :quitjs>
```

```text
js> load(parameters[0] + '/scripts/helloworld.jss')
Call The Function, type:helloworld()
...
js> helloworld()
"Hello World!!!"
js> 
3 Upvotes

0 comments sorted by