DeepRead
Cover of The craft of Prolog

The craft of Prolog

Richard A. O'Keefe · 1990

Programming and computer science › Lisp and Scheme

#1,214 most recommended

About the book

A practical guide to writing Prolog programs that are both correct and efficient, aimed at programmers who already know the language basics. It covers performance, data structures built with difference lists and incomplete structures (structures with holes), and parsing with definite clause grammars (DCGs). It is written as a follow-up to The Art of Prolog. Good Prolog depends on understanding how the execution engine runs a program, not only on the declarative logic, so the author treats efficiency as part of writing correct code. The book presents techniques such as difference lists and holed structures as ways to build and extend data without costly copying. It also argues that DCGs are a clear and practical notation for grammars and related text processing. Throughout, the emphasis is on programming style and habits that keep Prolog programs both right and fast.

Written by Claude from what it knows of this book.

What Hacker News says 60% recommend · 0% critical

051020092015202020262017 peak · 7
This bookAverage book in Lisp and Scheme

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

  • 1 want to read
  • 0 reading
  • 0 have read

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

The threads it came up in

Details

First published
1990
ISBN
9780262150392
Editions known
2 at Open Library
Open Library
OL4463602W

005.13/3NU PROLOGPROLOGPROLOG (Programmiersprache)Programmation PROLOGProgrammation en logiqueProgrammation logiqueProlog (Computer program language)Prolog (Langage de programmation)Qa76.73.p76 o38 1990

Explore in the mosaic

Read next: its neighbours on the mosaic