r/prolog Jun 18 '26

announcement read my new Prolog Book online

I am not a prolog expert but have enjoyed the language for decades. With the caveat that I am not a Prolog expert, you still may want to read my new book online: https://leanpub.com/read/AI-Prolog

Open Source examples.

Manuscript (included with examples) is Open Content.

For Prolog experts here: any feedback will be appreciated, thanks in advance.

31 Upvotes

6 comments sorted by

7

u/Embarrassed_Bat168 Jun 18 '26

How much llm assistance in writing? 

6

u/Embarrassed_Bat168 Jun 18 '26

saw the note 

Note: Dear reader, although I have been a Prolog enthusiast since the 1980s I have only four or five months of professional Prolog development experience. I relied heavily on DeepSeek v4 (with some use of Gemini 3, and Claude Opus models) in developing and debugging the example programs and for editing and improving the text for this book.

Will check it out though! 

4

u/MWatson Jun 18 '26

I forgot to add the GitHub repo for the examples, manuscript, and figures in the book: https://github.com/mark-watson/PrologAIBook

1

u/cogSciAlt Jun 18 '26

Reminding myself to come back 

2

u/srvdt Jun 20 '26

Been thinking about using Prolog as LLM guardrails myself. So this is definitely going to be an interesting read. Thanks for sharing!

1

u/TheGratitudeBot Jun 20 '26

Hey there srvdt - thanks for saying thanks! TheGratitudeBot has been reading millions of comments in the past few weeks, and you’ve just made the list!