Hacker News new | ask | show | jobs
by dmitriid 3125 days ago
> Prolog has a straightforward syntax. You will pick up the few rules very quickly. Let us transform the Socrates example from earlier into an actual Prolog program and analyse what is happing inside the compiler.

Yeah, and no. This skips over the fact that this will not work in swipl, and you need to write those rules in a separate file, and compile/load them.

This is mentioned way after the entire introduction, after the reader has already given up on trying anything with prolog