Re: GNU prolog interface to .NET?
"Euler" <[email protected]>
| Newsgroups | gmane.comp.gnu.prolog.general |
|---|---|
| Message-ID | <003201c44999$c3b353f0$0a00a8c0@indigo> |
----- Original Message ----- From: "Gang Wang" <[email protected]> To: <[email protected]> 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 > [email protected] > http://lists.gnu.org/mailman/listinfo/users-prolog