Prolog Compiler for .Net

2019-04-05 16:35发布

Can anyone recommend a Prolog compiler for .Net.

The ones that I have been able to find searching the net, do not appear to have been updated for several years.

Thanks

Shiraz

标签: .net prolog
5条回答
成全新的幸福
2楼-- · 2019-04-05 17:02

If you dont find you maybe need this tool Microsoft Oslo (Codename). This is a software for can create DSL's and work perfectly for develop a diagram syntax for compilers.

Check this link http://www.codeproject.com/KB/cs/Oslo_MGrammar.aspx?display=PrintAll

查看更多
看我几分像从前
3楼-- · 2019-04-05 17:06

Check out XProlog. It is extremely lightweight and it offers a compiler and a runtime DLL (30K in size). Full source code is available on GitHub that is exhaustively unit-tested. Although it is currently missing some basic Prolog features like lists, it does allow for building functional programs and even supports definite clause grammars. The XProlog compiler is written in XProlog and it compiles itself.

Disclaimer: I am the author of XProlog. It took me 4 months to write it and it was written for a task I then had at hand and now it is just sitting there on GitHub waiting for other great tasks. Hope you find it useful:

查看更多
倾城 Initia
4楼-- · 2019-04-05 17:08

I have used C#Prolog by John Pool

The source code is available and in C#. There are also several PDF articles in the download. Nice if you want to dig into the internals.

查看更多
放荡不羁爱自由
5楼-- · 2019-04-05 17:10

On this article they recommend P# and XSB: http://www.codeproject.com/KB/system/PrologNET.aspx

查看更多
在下西门庆
6楼-- · 2019-04-05 17:26

Ahhm, I googled for "Prolog.NET" and found this (1st result btw)

Prolog.NET is a full featured Prolog programming environment for the .NET Framework. It includes an enhanced compiler with language extensions and a code generator targeting Microsoft's Intermediate Language (MSIL) and integration with Visual Studio .NET Integrated development environment.

查看更多
登录 后发表回答