Is there a Prolog interpreter written in Ruby?

I've come to find ruby-prolog and other such DSLs, but I am actually interested in a interpreter for the true Prolog language, similar to this JS interpreter.

In other words, I want something in Ruby that can read actual Prolog files.

  • github.com/cie/rubylog is a prolog interpreter written in ruby.
    – thg
    Mar 30 '16 at 10:52
  • @thg Nice one, but it's not a true Prolog interpreter, but a Prolog-like DSL
    – gberger
    Mar 30 '16 at 18:51

I don't think that there's a complete implementation out there.

But I guess those projects are the nearest solutions you might find:

depending on what you need you might make use of projects that connect to the traditional interpreters.

For example

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.