repl/repl.rs
1use stackr_rs::*;
2
3fn main() {
4 // TODO: figure out way to start repl in interpreter
5 // let code = "repl \"example of repl\" print-stack";
6 let mut interpreter = Interpreter::new(());
7 // interpreter.evaluate(code, None).unwrap();
8
9 // Alternative way to start repl in host
10 interpreter.start_repl().unwrap();
11}