On 1/8/06, Frank Buss <[EMAIL PROTECTED]> wrote:
Justin Heyes-Jones wrote:

> I'm currently creating CFFI wrappers for SDL which may be of use to this
> project

Thanks, I've added your name to the list of volunteers.

What do you think how the function names should look like? At
http://cl-sdl.sourceforge.net/ the names are in Lisp-style, e.g.
"set-video-mode", "load-identity", "push-matrix". But then you have to
document this and the users have to learn it. If the original names are
used, the documentation would be just a link to the original documentation.


I'm generating the headers using SWIG which allows you to do either. It seems more 'lispy' to use lisp names, but then it feels more natural when converting C sdl code to lisp to use the C names.

I see this project as 4 steps

1) Make a swig setup that correctly exports the SDL headers into an sdl.lisp file, which is then all that is needed along with the SDL.dll to write SDL applications.
2) Find a home to keep both the swig input file and the .lisp files for the current and past versions of SDL
3) Keep them up to date with SDL revisions
4) Convert some of the SDL demo's from the documentation into lisp and present as a tutorial to get people started

BTW: Verrazano ( http://common-lisp.net/project/fetter/ ) has OpenGL as a
test suite, perhaps you can use the output of it and perhaps it can be used
for the rest of SDL, too.


I'll have to look into that.
 
Justin
_______________________________________________
Gardeners mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/gardeners

Reply via email to