I do know how to build a node REPL like GitHub - wingchain/wingchain-cli: Wingchain CLI
key code:
const repl = require('repl')
const vm = require('vm')
const c = repl.start({prompt: '> ', eval: customEval}).context
However, this requires the users to install node and npm
Is there any way to build a JavaScript REPL in RUST?
Therefor, I can publish binary to the users.