Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Prolog Connect to vb.net

Hi everyone I am developing an expert system for our thesis. But the problem is that i don't know where to start. My professor suggested to make Prolog as my back end and use another language for the user interface. I am planning to use vb.net for the front end, is it possible that vb.net can connect to Prolog. please help.

like image 997
James Lantican Avatar asked Dec 03 '25 15:12

James Lantican


2 Answers

You can use C# interface for SWI-Prolog written by Uwe Lesta :

  • Test cases are running against SWI-Prolog version 6.6.5.
  • Sources are available on https://github.com/SWI-Prolog/contrib-swiplcs
  • binaries on http://www.lesta.de/prolog/swiplcs/download/index.htm
  • Hopefully completely Unicode capable (Thanks to wchars functions).
  • A lot of code cleanup.
  • Libpl is an internal class now.

It works also with F# so I think it will work with VB.Net

like image 131
joel76 Avatar answered Dec 07 '25 05:12

joel76


Normally if you find a .Net based prolog language version then your issue is automatically solved for reason of the common language runtime. It will produce the same IL weither you build the back end from Prolog or from any other .Net language. Therefore you can call your back end produced dlls from any other .Net based front end technology.

I have looked up some .Net based prolog languages and found out:

  1. Prolog .Net here and here
  2. P# here
  3. tutProlog which offers a .Net based version here
  4. Planet: a research .Net based prolog project here
like image 44
alainlompo Avatar answered Dec 07 '25 05:12

alainlompo