Integrating Prolog with C# [closed]

强颜欢笑 提交于 2019-11-26 20:30:36

You can take a look at Yield Prolog.

Yield Prolog uses yield keyword in C# (and Python, and JavaScript) and custom Variable class to simulate Prolog machine. This way, you get a Prolog API in your favourite language. You don't need to connect your main language with P# or similiar projects.

It's not free, but Sicstus Prolog allows connection to C# and Java

This is the Prolog implementation we use at our company, and it is very fast and useful.

James Reynolds

C#Prolog, available from SourceForge (Prolog interpreter written in C#)

OnesimusUnbound

Perhaps P# will be useful for you

You can use ECLiPSe Prolog. i have integrated it with VC8. it would be better to use VC8 instead of C#.

If deployment with a full prolog implementation is not a problem you can use SWI-Prolog and talk to it via XPCE and sockets.

If your prolog is swi-prolog, you have two choices. The older, and essentially deprecated, version is http://www.swi-prolog.org/contrib/CSharp.html

The newer, much better one is swicli. http://www.swi-prolog.org/contrib/NetMono.html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!