[][src]Function endbasic::run_repl_loop

pub async fn run_repl_loop(
    machine: &mut Machine,
    console: Rc<RefCell<dyn Console>>
) -> Result<i32>

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.