Wednesday 2 April 2008

Right - I've chosen CLisp for the lisp implementation. It'll do for now - later I might try out ECL and GNU Common Lisp. The following helped me (as a reference point for getting SLIME to work): http://www.gigamonkeys.com/lispbox/. Also, I've installed and tested ASDF and the CFFI.

I'll be using the Irrlicht Engine for graphics, as it has the features I need, and good documentation :)

6 comments:

Flatlander said...

Have you thought about how to integrate CL with Irrlicht?
Since Irrlicht is C++ you are going to need to write C++ wrappers which is going to be bit annoying...
I once did fairly complete CFFI bindings for Irrlicht but it has probably bitrotted a bit since then.

John Connors said...

Yes, Irrlicht uses a lot of interfaces which means pure virtual functions. Of course, you can sidestep the virtual functions and wrap the implementations rather than the interfaces.

Also you could use ECLs and integrate directly, like this guy did with Quake II. Details are in the ECLs mailing list history somewhere.

http://ecls.sourceforge.net/ecl-in-quake2.jpg

pTymN said...

I would recommend Corman Lisp on Win32. Clisp is not actually natively compiled code, whereas Corman Lisp is. You may email me if you run into problems using the Corman Lisp FFI, I have a wealth of experience with it, and have done all combinations of Lisp in a DLL loaded from a C app, C libs in a DLL loaded from a lisp executable, simulataneous debugging from Corman Lisp IDE and Visual Studio, and other things such as these.

http://nightschool.near-time.net

grant rettke said...

Have you considered Corman lisp?

Check out this article:

http://nightschool.near-time.net/news/2008/2/13/how-to-make-a-win32-game-in-corman-lisp

aerique said...

I made the ECL in Quake2 mentioned above but Quake2 was written in C. I have no idea how easy it is to interface ECL with C++.

CFFI bindings to C++ wrappers would be the easiest way to go.

Here's the discussion: http://sourceforge.net/mailarchive/forum.php?thread_name=200306301800.01930.worm%40arrakis.es&forum_name=ecls-list

Luke Crook said...

I am working on a set of OpenRM wrappers for the Lispbuilder project. I'll be releasing these in the next week or two.