Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Lisp DLLs?

3 views
Skip to first unread message

awo...@gmail.com

unread,
Sep 29, 2006, 7:18:15 PM9/29/06
to
I'm trying to use Lisp methods as an AI backdrop to a larger program.

Anybody know how I could turn Lisp programs in DLLs, or similar formats
where they can be easily called from C# code?

Jack Unrue

unread,
Sep 29, 2006, 11:47:18 PM9/29/06
to

In case you haven't found it yet, lsharp.org is a starting
point, not only because they claim to facilitate tight
integration with .NET, but also because their FAQ has
pointers to other possibilities.

--
Jack Unrue

Lars Rune Nøstdal

unread,
Sep 30, 2006, 8:29:29 AM9/30/06
to

ECL produces DLLs http://ecls.sourceforge.net/

You could also use some sort of RPC-scheme; that way you'll be able to use
mostly any implementation that can do IPC somehow.

But have you considered reversing the process? If you use C# to generate
DLLs you could use CFFI to start the main-loop in your C#-DLL then have
callbacks in the Lisp-image. This would work great and would work with
most Lisp-implementations - check out CFFI:
http://common-lisp.net/project/cffi/

I believe this would be simpler; check out
http://msdn2.microsoft.com/en-us/library/3707x96z.aspx , or using Mono
it's something like:

mcs /target:library my-application.cs


--
Lars Rune Nøstdal
http://lars.nostdal.org/

0 new messages