Jump to ratings and reviews
Rate this book

Programmer Passport: Prolog

Rate this book
Constraint-based logic programming is the engine powering some of the most powerful algorithms in the world. Whether you're building an airline schedule or planning routes for a trucking company, Prolog has the tools you need. You don't have to struggle through thousands of pages of sample programs. This guide to Prolog will quickly ramp you up on the basic Prolog techniques you'll need to solve the representative logical problems that Prolog is famous for.
Instead of working through dozens of fragmented code snippets written for different dialogs of Prolog, you can learn Prolog from a unified guide. You will start with the basics, defining the facts and inferences your programs will need to function. Then, you'll learn the techniques to tie those facts together. You'll finish off the basics by working through iconic problems like the map coloring problem. You'll break into recursive solutions with the eight queens problem as you learn to explore logical problems requiring recursion and fixed dimensions.
Once you've picked up the basics, you'll get right into the problem domains that made Prolog famous. You'll navigate graphs to compute a working path, or even evaluate paths with the least distance or fastest times. You'll not only learn what directed graphs are, but when to apply them. You'll also get to use Prolog to solve scheduling problems. The basic algorithm will give you the tools to schedule a sports league tournament with special constraints.
Don't settle for fragments of the big picture. Demand a consolidated approach that guides you through the process from beginning to end. Whether you're learning logic programming to open up career possibilities or to excel in a class, you need this book.
What You
The examples in this book are based on SWI Prolog, one of the industry leading compilers.

74 pages, ebook

Published March 1, 2022

3 people are currently reading
9 people want to read

About the author

Bruce Tate

13 books1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
3 (30%)
4 stars
0 (0%)
3 stars
6 (60%)
2 stars
1 (10%)
1 star
0 (0%)
Displaying 1 - 2 of 2 reviews
37 reviews4 followers
April 9, 2022
This was a quick, digestible introduction to prolog with some interesting, practical examples. However there were some issues with it:

The code examples were pretty buggy and sometimes incomplete.

It frequently mentioned concepts that were not explained at all. It doesn't stop you from getting through the book, but the reader ends up lacking fundamentals that are necessary to actually being able to implement the examples. You definitely want a better text if you want to actually learn to code in prolog.
Profile Image for David.
19 reviews4 followers
May 2, 2022
This is a great book to get started with Prolog.
Unfortunately, there is many typos and copy/paste errors adding challenges to make the code work as expected. These errors could have easily been avoided with a better review process.
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.