ffi - Connect prolog code with C# program -
this question has answer here:
- integrating prolog c# [closed] 8 answers
i have prolog code searching book. simple game. want make interfaces c#. don't know how connect prolog c#. please me. how conncet prolog c#.
besides answers mentioned on comment link there swi prolog has c# interface. can see here.
here example provided aforementioned link:
plquery q = new plquery("member(a, [a,b,c])"); foreach (pltermv s in q.solutions) console.writeline(s[0].tostring());
there full documentation.
Comments
Post a Comment