Skip to main content

start_repl

Function start_repl 

Source
pub fn start_repl(options: ReplOptions) -> Result<RustRepl>
Expand description

Start an Evcxr session with the entire command-stream crate in scope.

Requires rustup component add rust-src and cargo install --locked evcxr_repl. Evcxr supplies Rust parsing, diagnostics, multiline editing and completion. Fully qualified macros such as command_stream::s! work without special parsing.