Prolog with .NET

We already have an issue like this, but she was 4 years old, and my question is - is "associated time" .

I need to implement some logic using a prolog and call it from a CLR-based application (mainly C # from Windows and Mono, as well as Scala from Windows) in order to use some of the features of Prolog. The problem is that I cannot find a supported Prolog.NET compiler ...

So, do you have a still supported Prolog compiler? Or, from experience, do you think that one of the above is stable enough and safe enough to use them even without support?

+4
source share
2 answers

This one, C # Prolog, looks under development (the latest release is marked as June 2013). Whether it is good or not (or better than others), I have no idea.

http://sourceforge.net/projects/cs-prolog/

In addition, Amzi Prolog has a binding for .Net:

http://www.amzi.com/manuals/amzi/ls/lsadotnet.htm

And here is the CLR binding for integrating SWI-Prolog into the .Net world:

http://www.lesta.de/prolog/swiplcs/Generated/Index.aspx

+3
source

There is no answer yet, so I can offer a halfway solution: attaching a little managed managed C ++ to your project as a common DLL, exposing .Net properties / methods and interacting with the Prolog side using the C ++ interface is convenient and powerful (exceptions, type checking, distribution management of the environment, etc.).

0
source

Source: https://habr.com/ru/post/1497853/


All Articles