r/programming • • Dec 07 '07
Ask programming.reddit: Must-read programming books?
[deleted] — view deleted post
130
Upvotes
r/programming • • Dec 07 '07
[deleted] — view deleted post
View all comments
Show parent comment
3
u/[deleted] Dec 07 '07
It covers logic programming. The first few chapters cover the basics of pure logic programming, which consists of establishing constraint relationships, and then evaluating the tree using a unification algorithm instead of the standard eval/apply loop. Then the book gets more Prolog specific, but still general, detailing common algorithms, the plusses and minuses of depth first/breadth first unification and occurs checks, and analyzing complexity of logic programs.
I highly recommend the book, if only to get your mind around the unification based evaluation model, which is very useful for algorithms like typechecking or general graph traversal.