Re: Prolog Execution Algorithm
- From: Matthew Huntbach <mmh@xxxxxxxxxxxxxx>
- Date: Tue, 25 Oct 2005 15:40:34 +0100
On Sun, 23 Oct 2005, rush wrote:
"Struiver" <dieter.vanderelst@xxxxxxxxx> wrote in message
I'm looking for a good explanation of the algorithm (pseudocode ?) that prolog uses to solve a query.
I know that the book by Ivan Bratko features a version of the algorithm, but I'm looking for a more elaborate version (with particular attention to the handling of variables).
Well, there are different approaches to implement prolog, wiht consequently different algorithms. But try to get a hold of WAM thesis (ort any text on WAM), which descirbes efficient abstract machine that executes compiled prolog.
On a very detailed level. Rather like answering someone's explanation for how a language works by directing them to a compiler for it. On the whole it's best to have a feel for how the language works on a conceptual level first, and I doubt it's even possible to go in the reverse direction. I don't think looking at work on the WAM would help this poster.
Matthew Huntbach .
- Follow-Ups:
- Re: Prolog Execution Algorithm
- From: rush
- Re: Prolog Execution Algorithm
- References:
- Prolog Execution Algorithm
- From: Struiver
- Re: Prolog Execution Algorithm
- From: rush
- Prolog Execution Algorithm
- Prev by Date: Prolog and resolution strategies
- Next by Date: CLACK CLACK CLACK - HEWLETT PACKARD FRAUD ALERT WARNING FROM HP PRINTER WHEN PRINTING FROM PROLOG (OR ANY OTHER LANGUAGE!!!)
- Previous by thread: Re: Prolog Execution Algorithm
- Next by thread: Re: Prolog Execution Algorithm
- Index(es):
Relevant Pages
|
|