Skip to content

[Feature request] Add REPL #699

@MaxGraey

Description

@MaxGraey

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
});

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions