by nextos · 3y ago · 0 comments
IMHO, The Art of Prolog is along with Concepts, Techniques, and Models of Computer Programming, Paradigms of AI Programming, and Structure and Interpretation of Computer Programs the canon of dynamically typed programming. The Craft of Prolog is also exceptional but has some chapters that are too specific to programming in old Prolog systems and thus outdated.
Lots of Prolog ideas live in answer set programming and Datalog. The latter is fantastic to build state-of-the-art static analyzers [1].
I might be buying the book if I really like it to support the authors, but it’s great that they made it available for everyone.
I got my copy back in the (gasp) '80s from the neighborhood B. Dalton's or something, and it totally changed the way I thought about the roles of code and data. It's one of the handful of books that have survived all my library downsizing, along with The Tao of Programming, the bible, the dragon book...