use new heap term representation
This commit is contained in:
@@ -1,16 +1,12 @@
|
||||
fn main() {
|
||||
use nix::sys::signal;
|
||||
use scryer_prolog::read::readline;
|
||||
use scryer_prolog::*;
|
||||
|
||||
let handler = signal::SigHandler::Handler(handle_sigint);
|
||||
unsafe { signal::signal(signal::Signal::SIGINT, handler) }.unwrap();
|
||||
|
||||
let mut wam = machine::Machine::new(
|
||||
readline::input_stream(),
|
||||
machine::Stream::stdout(),
|
||||
machine::Stream::stderr(),
|
||||
);
|
||||
let mut wam = machine::Machine::new();
|
||||
|
||||
wam.run_top_level();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user