Module artichoke::repl

source ·
Expand description

A REPL (read–eval–print–loop) for an Artichoke interpreter.

The REPL is readline enabled, but does not save history. The REPL supports multi-line Ruby expressions, CTRL-C to break out of an expression, and can inspect return values and exception backtraces.


Failed to initialize parser during REPL boot.
Internal fatal parser error.
Parser processed too many lines of input.
Configuration for the REPL readline prompt.


Run a REPL for the mruby interpreter exposed by the mruby crate.