I've got a prolog code with constraints over finite domain and I would like to make some GUI for that. Nothing complicated, only displaying some text, click button and on that click the result would be displayed. I preffer C# & Visual Studio. Is there a way to do it? I found some examples integrating prolog with C#, but the major problem is that my code is with constraints and it seems to be the biggest problem to 'connect'/'convert' the prolog code to C#.
Asked
Active
Viewed 291 times
1
-
Welcome to SO! Since you are new, you might want to check this [link](http://meta.stackexchange.com/a/5235/187716). – fferri Jun 17 '15 at 21:33
1 Answers
1
ECLiPSe CLP has a C/C++ interface for embedding the interpreter in your application: http://eclipseclp.org/doc/embedding/embroot.html
It appears that you can use C libraries from C#:
- Use a C library from C# code
- Tips for using a C library from C#
- How to use C-Library in C#
- Is it possible to call a C function from C#.Net
SWI-Prolog has a C# interface: http://www.swi-prolog.org/contrib/CSharp.txt