Crate repl_framework[−][src]
Expand description
repl_framework a crate to create a simple toy repl
Examples
use repl_framework::Repl;
fn main() -> std::io::Result<()> {
Repl::default()
.with_function("", |data_store: &mut Vec<String>, data: Vec<String>| {
data_store.extend(data)
})
.run()
}
Structs
Main Repl Struct that contains all logic for the crate