I have some logic in a C ++ program that is not only insanely complex, but also requires several solutions for which Prolog is perfect. This is similar to a firewall script configuration, checking for action input, but sometimes more than one action is required.
I want something like this:
class PrologEngine { LoadLogic(const char* filename) throw PrologException;
It does not need the ability to call back to C ++.
AMI Prolog seems to have got it, but it is not available on Linux. I am trying to use SWI-Prolog and can only find 2 examples and an incredibly Byzantine API (my opinion)
Can someone give me an example close to what I'm looking for?
source share