-
-
Notifications
You must be signed in to change notification settings - Fork 680
Closed
Description
It will be nice to have REPL with history and minimal environment. I guess we could reuse some urils from node.js like "repl" module:
const Repl = require('repl');
const repl = Repl.start({
prompt: 'assemblyscript> ',
useColors: true,
ignoreUndefined: true
});
repl.on('line', line => {
line = line.trim();
// try compile assemblyscript for this line here
});