有谁知道集成 Prolog 和 C# 的好方法(最好是免费的)?
Does anyone know of a nice (and preferably free) way to integrate Prolog and C#?
我希望创建一个 Prolog dll 或类似的从我的托管代码调用,并在所有处理完成后检索答案.我希望它主要是单面的(c# 调用 Prolog).
Im looking to create a Prolog dll or similar to call from my managed code, and retrieve an answer once all the processing has been complete. Im looking for it to be predominantly one sided (c# calls Prolog).
我看过 这个问题,它谈到了 Prologs 的实际使用情况,但我想知道是否任何人都对 c# & 有任何经验序言?还是不错的教程/文章?
I have seen this question which talks about Prologs real world usage but I was wondering if anyone had either any experience with c# & Prolog? or a nice tutorial/article?
你可以看看Yield Prolog.
Yield Prolog 使用 C#(以及 Python 和 JavaScript)中的 yield
关键字和自定义 Variable
类来模拟 Prolog 机器.这样,您就可以使用自己喜欢的语言获得 Prolog API.您无需将主要语言与 P# 或类似项目联系起来.
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.
这篇关于将 Prolog 与 C# 集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!