prepare for batch processing
This commit is contained in:
@@ -28,8 +28,6 @@ fn process_buffer(wam: &mut Machine, buffer: &str)
|
|||||||
fn prolog_repl() {
|
fn prolog_repl() {
|
||||||
let mut wam = Machine::new();
|
let mut wam = Machine::new();
|
||||||
|
|
||||||
load_init_file(&mut wam, "lists.pl");
|
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
print!("prolog> ");
|
print!("prolog> ");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user