users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU prolog interface to .NET?


From: Euler
Subject: Re: GNU prolog interface to .NET?
Date: Thu, 3 Jun 2004 20:37:03 +0200

----- Original Message ----- 
From: "Gang Wang" <address@hidden>
To: <address@hidden>
Sent: Wednesday, June 02, 2004 5:35 PM
Subject: GNU prolog interface to .NET?


> Hi,
>
> Could anybody please point me to the right direction on how to interface
GNU
> prolog with Microsoft .NET environments? Specifically, I have some code
> written in C#. How can I invoke GNU prolog from C# and how can I let GNU
> prolog to invoke methods defined in C#?

Hi,

basically you have to provide a DLL, which can be called by the .NET CLR
through it's Foreign Language Interface.
As a first starting point, I'd recommend a look at "Bedevere"
http://bedevere.sourceforge.net/, which is a project, that binds GNU Prolog
to Python. This is done with the help of SWIG, an automated interface
builder for various languages

Of course, if you are lazy, you can work just with this environment, since
binding a Python Interpreter to .NET is almost trivial.

Anyway, I would prefer a "proprietary" GNU Prolog <-> .NET Library, not last
because of speed considerations.

HTH
Ingo

> Any examples and documents are greatly appreciated.
>
> _________________________________________________________________
> MSN 9 Dial-up Internet Access fights spam and pop-ups - now 3 months FREE!
> http://join.msn.click-url.com/go/onm00200361ave/direct/01/
>
>
>
> _______________________________________________
> Users-prolog mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/users-prolog





reply via email to

[Prev in Thread] Current Thread [Next in Thread]