Search code examples
javaprolog

How to use Prolog from Java?


In the context of a Java/Eclipse application I would like to use Prolog for a particular task. What are the available solutions and tools to do that, and associated pro and cons ?

I can launch an external Prolog interpreter generating the result in a file ? I can use a full Prolog Java Library (Prolog interpreter implemented in java) ? I can use a java library dedicated to the communication with an external Prolog interpreter ?

Thanks in advance for your help,

Manu


Solution

  • I would give GNU Prolog for Java a try. From the website:

    GNU Prolog for Java is an implementation of ISO Prolog as a Java library