interprolog

    2热度

    1回答

    我目前正在尝试设置interprolog(请参阅http://www.declarativa.com/interprolog/),并且我已按照网站上的步骤操作,但现在我想知道如何从eclipse ide使用interprologs类?我是否需要将类导入到我的项目中,以便我可以使用interprolog?我怎么能这样做呢? 感谢

    0热度

    3回答

    我试图建立一个具有interprolog和SWI prolog的环境,interprolog需要swi的“pl”的位置,但我无法找到它。我所能找到的只是swipl或plrc,并不适用于interprolog。如果我PL键入到终端(这应该运行swiprolog)它说 bash: pl :command not found ,但如果我在 swipl 或 序言中键入 运行swiprolog罚款。

    2热度

    3回答

    我已经建立了与安装下列这里说明我的Linux机器上都interprolog和SWI序言:Interprolog with SWI instructions on Linux 我已经编辑了unixVariables.sh包含Java和SWI-序言的路径(PL)我的机器上,我的unixVariables.sh看起来像可执行文件: # This is a typical environment for

    0热度

    2回答

    我遇到了一些我的代码的问题,我真的不能解决这个错误。 我使用Interprolog(Java +序言)看到here 这里是堆栈跟踪: Exception in thread "AWT-EventQueue-0" java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.Str

    0热度

    1回答

    我有一个相当艰难的时间,试图利用interprolog 我有一些代码,试图调用一个序言命令,问题是我的序言数据库的实际负荷。下面是代码: myEngine = new NativeEngine(); myEngine.consultFromPackage("userlist.p", LoginHandler.class); boolean x = myEngine.determ