pub async fn run_repl_loop(
machine: &mut Machine,
console: Rc<RefCell<dyn Console>>,
program: Rc<RefCell<dyn Program>>,
) -> Result<i32>
Expand description
Enters the interactive interpreter.
The console
provided here is used for the REPL prompt interaction and should match the
console that’s in use by the machine (if any). They don’t necessarily have to match though.