pub fn run<Wout, Werr>(
config: Option<PromptConfig<'_, '_, '_>>
) -> Result<(), Box<dyn Error>> where
Werr: Write + WriteColor,
Run a REPL for the mruby interpreter exposed by the
If printing the interpreter copyright or compiler metadata fails, an error is returned.
If initializing the Ruby parser fails, an error is returned.
If an exception is raised on the interpreter, then an error is returned.
If writing expression results or exception backtraces to stdout and stderr fails, an error is returned.
If an unhandled readline state is encountered, a fatal error is returned.