[plt-scheme] Ludum Dare entry done in Scheme

From: Henk Boom (lunarc.lists at gmail.com)
Date: Fri Feb 29 13:44:36 EST 2008

On 29/02/2008, Aleks Bromfield <aleks at cs.brown.edu> wrote:
> Have you seen Swig (http://www.swig.org/)?

I hadn't looked at it in detail before. It seems that it would be
useful to write a SWIG module to generate foreign.ss modules.

The only snag I see is that the generated modules will be
platform-dependent, since all of the #ifdef __WIN32__ and such
statements will have been expanded by SWIG. Perhaps multiple passes
could be done for different operating systems and endiannesses and the
resulting modules merged automatically to make use of (system-type
'os) and (system-big-endian?)?

Also, AFAIK foreign.ss does not currently support unions, so some
solution for that would have to be found.

It definitely sounds like more interesting work than hand-writing SDL


Posted on the users mailing list.