Live data from Hacker News

Ask HN: Production Prolog in 2020?

news.ycombinator.com

71–72 of 72 posts

Re: Ask HN: Production Prolog in 2020?

#71

Kind of offtopic, but does anyone know a good resource around implementing a simple prolog/similar language? My previous attempts at learning logic programming have failed, and it just _feels_ like a thing that becomes clear after you've seen how it works under the hood.

Check out miniKanren ( http://minikanren.org )!

Though as Kanren's biding-stream merging which is a bit different than Prolog's DFS backtracking, it's good to look at but doesn't work like Prolog, so one would still need to look at the latter separately.

Re: Ask HN: Production Prolog in 2020?

#72
post #21
post #3

Earlier quoted context omitted.

Do any of the non-artificial intelligences walking around out there contain a logical inference engine similar to Prolog?

Yes. Logic wasn't conjured up from abstract ideas, but from a concerted effort to distill the essence of what humans (regular, average people) find reasonable and convincing. (To mention just one example, there is a reason one of George Boole's major works is called "The Laws of Thought".) Our strategies for understanding language also involve inference and unification that is similar to logic programming. This is no…

I listened to this a few weeks ago -- looking forward to the next episode!
Post reply on HN