I want to run Prolog code using Java.
I found some engines, but the only one that seemed easly to use was w-prolog . However, when I tried to use it I figured out he doesn’t support simple things like Lists or dynamic assertions.
I also saw tuprolog but it seemed far more heavy than I wanted and it seemed I need to recreate all my code in a Java syntax (separating terms, facts, etc).
I just want to run prolog from a file and read the result in Java.
Anyone knows how can I do it? Does tuprolog allows me to do it in a simple way?
I think that Jekejeke Prolog can do that. It’s a 100% java written Prolog. Though, being a commercial solution, it may not be a fit for you.