← Back to context

Comment by silentbicycle

15 years ago

Sterling & Shapiro's _The Art of Prolog_ is fantastic, if _Learn Prolog Now_ piques your interest. Clocksin's _Clause and Effect_ is sort of like "The Little Schemer" for Prolog (though not cutesy).

Also, if you learn Prolog, don't forget to learn the constraint programming extensions! SWI and GNU Prolog are free Prologs with constraint programming included. It makes Prolog much more practical.

Thanks; I just bought The Art of Prolog used at Amazon ($13 with shipping).

  • You probably got the first (1986) edition. The second (1994) edition is much better, but more expensive. (But, there's a $49 copy on amazon. That's a steal! I paid $80ish, argh...)

    They added quite a bit of material to the latter chapters, and it updated to the newer, then de-facto standard Prolog (which became an ISO standard in 1995). Useful Prolog implementations usually have non-ISO extensions for module systems, constraint programming, etc.

    I have both. I keep the first edition at the office, and it's my lending copy.