About This Title

Pages: 100
Published: January 2020
ISBN: pending
Edition: 1
Not Yet Printed (NYP)

Programmer Passport: Prolog

by Bruce Tate

Programmer Passport: Prolog introduces Prolog, the logic programming language. As machine learning algorithms become more popular, more developers are looking to Prolog for inspiration. It’s roots go deep into Computer Science language theory. The earliest Erlang compilers were based on Prolog, and its influences including pattern matching and syntax structure ripple deeply through Erlang, and even Elixir.

Available exclusive in partnership with our friends at grox.io


Today, Prolog is widely used in academic settings to illustrate constraint-logic-programming, a programming family that involves establishing a domain and constraints to express a program. The solutions algorithms are left to the language! In this book, you’ll explore some iconic programming problems, including solving a sudoku, the map coloring problem, and the eight queens problem. Then, you’ll explore the navigation of schedules, and graphs. Don’t miss this one!

What You Need

Resources

Releases:

Contents & Extracts

  • Logic Programming Basics
    • What is Prolog, Anyway?
    • The SWI Prolog Console
    • Inferences
    • Layering Inferences
    • Try It Yourself
  • Logic Problem Solving
    • Map Coloring
    • Unification, Lists, and Pattern Matching
    • Eight Queens
    • Try It Yourself
  • Graphs
    • Directed Graphs With Edges as Facts
    • Bi-Directional Graphs
    • Optimizing Paths and Weighted Paths
    • Try It Yourself
  • Schedules and Code Organization
    • Schedule Teams on a Field
    • Schedule Possibilities
    • Establish Constraints
    • Write a Pretty Solution
    • Try It Yourself

Author

Bruce A. Tate is a programmer and CEO of Groxio where he is helping to redefine how computer languages are taught and learned. He’s the author of Seven Languages in Seven Weeks and Programming Phoenix, among other titles, and has been involved with Elixir from the very beginning.

Available exclusive in partnership with our friends at grox.io

Related Titles:

About This Title

Pages: 100
Published: January 2020
ISBN: pending
Edition: 1
Not Yet Printed (NYP)