Embedded Prolog Interpreter/Compiler for Java

前端 未结 13 1946
野性不改
野性不改 2020-12-04 16:51

I\'m working on an application in Java, that needs to do some complex logic rule deductions as part of its functionality. I\'d like to code my logic deductions in Prolog or

13条回答
  •  清歌不尽
    2020-12-04 17:16

    SWI prolog A very popular implementation seems to have a Java interface as does SiCStus which would be easier than using JNI to instantiate an instance in your Java Process. I've used both from C quite a while ago and do recommend them. My prefference would be SWI as it is open-source and from my experience the de facto implementation.

    The documentation for SWI's Java interface seems to be adequate, and the embedding process quite straight forward.

提交回复
热议问题