◈ Prolog Made Easy

A FREE, INTERACTIVE BOOK ABOUT LOGIC PROGRAMMING

Prolog
Made Easy!

Different thinking. Tiny programs.
Big “OH! NOW I GET IT!” moments.

No boring walls of syntax. We'll tell stories, ask questions, make mistakes and write real Prolog from day one. Ready to stop looking for the steering wheel?

◷ Short chapters⌘ Real code in your browser◎ No account needed
01 / YOUR LEARNING ADVENTURE

Pick a chapter.
Let's get curious!

Start with a new way of thinking, then run your first program. Feeling adventurous? Jump into Sudoku and watch constraints do the heavy lifting.

The Sudoku browser lab is experimental; the chapter and its explanations are available even if the Scryer engine cannot start.

02 / HOW WE LEARN

No spectators.
You're the programmer!

We don't want you to read fifty pages before writing a line of code. Here, learning means trying things.

01

Read a little

A story, a question, or a surprisingly simple idea.

02

Try it yourself

Edit a real Prolog program. Run a query. Ask for another answer.

03

Make it yours

Break something. Fix it. Discover why it works.

03 / THE BIG IDEA

Stop looking for
the steering wheel!

Prolog isn't Python with strange punctuation. It's a different way to think about programming: describe facts, relationships and constraints — then ask what follows.

This is an open, growing book in English. Every chapter is free to read, and the interactive exercises run in your browser. No signup. No fuss. Just curiosity.

Find out why Prolog is different ↗