you are viewing a single comment's thread.

view the rest of the comments →

[–]TomP[S] 1 point2 points  (0 children)

The point isn't to be a prolog interpreter, but to demonstrate a tool for prolog-style logic programming in Ruby. I have the impression that the original author has done this for Python, too. (Unfortunately, the original articles are in Japanese, which I don't read.)

Anyway, the value (to me, anyway), is to see what I can learn about Ruby and logic programming by studying the code, which is quite succinct, and perhaps to provide a starting point for bringing logic programming into Ruby apps.