[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: interfacing Java and Gnu Prolog
From: |
Adam Russell |
Subject: |
RE: interfacing Java and Gnu Prolog |
Date: |
Fri, 26 Feb 2021 22:28:43 +0000 |
Shortly after posting to the list I found something useful on Github (funny how
that works sometimes). This code uses Java Process and ProcessBuilder classes
to communicate with gprolog. The repo is a bit old but I think with some
freshening up it should do pretty much what I want.
https://github.com/adamcrussell/GPJaSI
Still open to alternative suggestions though if anyone has them!
-----Original Message-----
From: Users-prolog <users-prolog-bounces+ac.russell=live.com@gnu.org> On Behalf
Of Adam Russell
Sent: Friday, February 26, 2021 1:34 PM
To: users-prolog@gnu.org
Subject: interfacing Java and Gnu Prolog
I am wondering if there is any (easy) way to interface gprolog from Java?
Attempts to google search “Gnu Prolog and Java” and similar all result in links
to a separate Gnu Prolog for Java project which as far as I can tell is an
unrelated and no longer maintained effort to implement a Prolog in Java?
To be specific, I would like to implement a scheduler in Prolog but call it
from Java. I’ve used swi’s jpl in the past and it works fine, but would prefer
Gnu Prolog. Seems easier to add to a docker image. 😉