Programmer Passport: Prolog

- 50%

Original price was: $5.00.Current price is: $2.50.

Add to wishlistAdded to wishlistRemoved from wishlist 0

Product Specs:

  • File Type: PDF
  • File Size: 7.7 MB
  • Book Language: English
  • Total Page Count: 74
  • Instant Download
SKU: DIGI-009113

A Different Way to Think About Code 🧠

Most programming languages ask you to describe how to solve a problem step by step. Prolog asks a different question: what do you know, and what can be inferred from it? Bruce A. Tate’s Programmer Passport: Prolog is a compact, hands-on introduction to that shift in perspective. Across four focused chapters, Tate works with facts, rules, and queries in SWI-Prolog, showing how a small database of statements can answer questions that would take much more code in a conventional language.

From Facts and Rules to Working Queries 💻

The book begins with logic programming basics: predicates, atoms, variables, and the SWI-Prolog console. You’ll see how simple facts and rules combine, then move into inferences and layered reasoning. The emphasis stays practical. Each chapter ends with Try It Yourself material, so you can test ideas in the console rather than just read about them.

Solve Classic Logic Problems 🧩

Chapter 2 turns to problems that have long served as logic-programming teaching tools: map coloring, unification, lists, pattern matching, and the Eight Queens puzzle. These examples show Prolog’s backtracking in action. Instead of forcing a single path, the language can explore possibilities, reject dead ends, and return all valid solutions. That makes the chapter useful for readers who want to understand why Prolog feels so different from mainstream languages.

Graphs, Paths, and Weighted Choices

Graphs get their own chapter. Tate starts with directed graphs represented as facts and edges, then moves to bidirectional graphs and path optimization, including weighted paths. If you have used graph algorithms in other languages, this section shows how declarative rules can express relationships and let the engine search for answers. The material is concise but gives enough structure to try similar modeling in your own projects.

Scheduling with Constraints

The final chapter applies Prolog to scheduling and code organization. You’ll work through scheduling teams on a field, generating possibilities, establishing constraints, and shaping a readable solution. It is a practical demonstration of how facts and rules can describe a problem space, then let Prolog find arrangements that satisfy multiple requirements.

Who This Prolog Book Is For

This is a focused guide for developers who want a fast, thoughtful introduction to logic programming. It suits programmers curious about AI-related techniques, SWI-Prolog users, and anyone who wants to add a declarative problem-solving approach to their toolkit. Because the examples are short and the explanations stay direct, it can work as a first Prolog book or as a compact refresher for experienced developers. Expect to spend time at the console; the book’s value comes from trying queries, changing rules, and watching Prolog search.

Start Your Prolog Moment

Bruce A. Tate writes from experience with multiple languages, and the preface explains his own Prolog moment — the point where a few lines of facts and rules produced a surprising set of correct answers. Programmer Passport: Prolog is an invitation to find that moment yourself, one query at a time. 📚

Additional Book Details

Book specifications and digital file information

File Size
7.7 MB
File Type
PDF
Language
English
Page Count
74
Publisher
The Pragmatic Bookshelf
ISBN
ISBN_13: 978-1-68050-935-9
Authors
Bruce A. Tate | L. Sakhi MacMillan (Copy Editor) | Jacquelyn Carter (Development Editor) | Tammy Coron (Managing Editor)
Copyright
© 2022 The Pragmatic Programmers, LLC
File Information
Programmer Passport Prolog.pdf
Additional Information
publication_location: Raleigh, North Carolina | Series: Programmer Passport | Book_Version: P1.0—March 16, 2022 | Founders: Andy Hunt and Dave Thomas

User Reviews

0.0 out of 5
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0
Write a review

There are no reviews yet.

Be the first to review “Programmer Passport: Prolog”

No product has been found!
Programmer Passport: Prolog
Programmer Passport: Prolog

Original price was: $5.00.Current price is: $2.50.

Your Next Chapter Starts Here.

Discover digital books that spark curiosity, inspire fresh ideas, and encourage learning. Explore the BooksStore collection and find your next great read.

Digital eBooks only
Downloadable file formats
Customer support available
Need Assistance?

Email us at [email protected]

Customer Support

General enquiries: response within 24–48 hours. Some issues may require additional time to resolve.

A World of Ideas Awaits

Good reads. Fresh possibilities.

Find something new to learn, enjoy, or explore. Browse the BooksStore collection and discover your next digital read.

Browse eBooks

Digital books only. No physical shipping. File formats vary by product.

Books Store
Logo
Shopping cart