How to Connect Prolog with CSharp

I’m using: SWI-Prolog version ???
I want help from you on how to connect Swi-Prolog with CSharp and what are the steps that I should follow to design a project
I want the code to:

But what I’m getting is:

My code looks like this:

% your code here

Currently (10/17/2022) IMO there is no acceptable answer to this as the code for such may no longer be maintained, was not completely tested, etc.


Also when searching for an answer to this consider using the keyword .NET or interop or such instead of CSharp.


Baring an acceptable answer here is some related info:

Normally I would add HTH but in this case I think these will all be dead ends.

2 Likes