DeepRead
Cover of Programming in Prolog

Programming in Prolog

William F. Clocksin, Christopher S. Mellish · 1981

Programming and computer science › Lisp and Scheme

#2,721 most recommended

About the book

A textbook and reference for Prolog, the logic programming language, written by William Clocksin and Christopher Mellish. It covers the core language: facts and rules, unification, recursion, lists, arithmetic, backtracking, control with cut, input and output, and simple data structures. The examples target standard core Prolog so they run across the widely used implementations, and the appendices note where those implementations diverge from the standard. The book presents Prolog as a practical programming tool, where a program is a set of logical relations and running it means searching for proofs that satisfy a query. It holds that understanding unification, recursive definitions, and backtracking is the key to writing correct Prolog, and that control features such as cut should be used with care. It also argues for sticking to a portable core language so that programs can move between implementations.

Written by Claude from what it knows of this book.

What Hacker News says 57% recommend · 7% critical

02.5520092015202020262018 peak · 5
This bookAverage book in Lisp and Scheme

In the commenters’ own words

What Open Library readers say 3.00 from 1 rating

  1. 50
  2. 40
  3. 31
  4. 20
  5. 10
  • 9 want to read
  • 0 reading
  • 1 have read

Only 1 rating: treat the average as a hint.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

Details

First published
1981
ISBN
9783540006787
Editions known
24 at Open Library
Open Library
OL2716116W

Artificial intelligenceComputer scienceData structures (Computer science)Logic designPROLOGPROLOG (Programmiersprache)Programmation PROLOGProlog (Computer program language)Prolog (langage de programmation)

Explore in the mosaic

Read next: its neighbours on the mosaic