NAME
AI::Prolog::End - Run queries against a Prolog database.
SYNOPSIS
my $engine = AI::Prolog::Engine->new($query, $database).
while (my $results = $engine->results) {
print "$result\n";
}
DESCRIPTION
See AI::Prolog for more information. If you must know more, there are plenty of comments sprinkled through the code.
If you look through the code, you will notice that it's appears to be based on the Warren Abstract Machine (WAM). This is pretty much a standard definition of a Prolog compiler.
The new()
function actually bootstraps some Prolog code onto your program to give you access to the built in predicates listed in the AI::Prolog documentation.