Synopses & Reviews
Originally published in 1981, this was the first textbook on programming in the Prolog language and is still the definitive introductory text on Prolog. Though many Prolog textbooks have been published since, this one has withstood the test of time because of its comprehensiveness, tutorial approach, and emphasis on general programming applications. Prolog has continued to attract a great deal of interest in the computer science community, and has turned out to be the basis for an important new generation of programming languages and systems for Artificial Intelligence. Since the previous edition of Programming in Prolog, the language has been standardised by the International Organization for Standardization (ISO) and this book has been updated accordingly. The authors have also introduced some new material, clarified some explanations, corrected a number of minor errors, and removed appendices about Prolog systems that are now obsolete.
From the reviews of the fifth edition: "This is the fifth and the most recent edition of a legendary book ... . It was probably the first introductory Prolog book and it is still the most gentle introduction to Prolog for everyone, including non-computer scientists. ... the book is as great as ever as an introductory text for Prolog. When a newbie asks for an introduction to Prolog, the best advice is still Clocksin & Mellish." (Bart Demoen, TLP-Theory and Practice of Logic Programming, Vol. 5 (3), 2005)
Originally published in 1981 this book retaains its comprehensiveness, its tutorial approach and emphasis on general programming applications. Prolog has continued to attract interest in the computer science industry and has turned out to be the basis for a new generation of programming languages.
Table of Contents
1. Tutorial Introduction; 2. A Closer Look; 3. Using Data Structures; 4. Backtracking and the "Cut"; 5. Input and Output; 6. Built-in Predicates; 7. More Example Programs; 8. Debugging Prolog Programs; 9. Using Prolog Grammar Rules; 10. The Relation of Prolog to Logic; 11. Projects in Prolog; A. Answers to Selected Exercises; B. Clausal Form Program Listings; C. Writing Portable Standard Prolog Programs; Index.