ffi - Connect prolog code with C# program -


this question has answer here:

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

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -