tuProlog unknow behavior
- by Josh Guzman
I'm using tuProlog to integrate Prolog with Java, to do so I'v been defined a .pl file wich contains this code:
go:-write('hello world!'),nl.
In my Java File at NetBeans i Have a Main Class that invokes this:
Prolog engine = new Prolog();
Theory theory = new Theory(new FileInputStream("facultad.pl"));
try {
…