migrate to rustyline, add history support

This commit is contained in:
Mark Thom
2019-09-26 11:25:05 -06:00
parent 529b664bf3
commit 2c1c1b7d12
8 changed files with 122 additions and 155 deletions

View File

@@ -25,8 +25,8 @@ use prolog::read::*;
mod tests;
fn main() {
#[cfg(feature = "readline_rs_compat")]
readline::readline_initialize();
// #[cfg(feature = "readline_rs_compat")]
// readline::readline_initialize();
let mut wam = Machine::new(readline::input_stream());
wam.run_toplevel();