On May 2, 2005, at 7:28 PM, David Steuber wrote:
Hi,
List membership is exploding! Not counting myself twice, there are now three members.
For a while I've been unhappy with how event.lisp maps calls to the callback function to actual objects for event handling. I thought closures would be a nice solution to the problem but wouldn't have thought it possible. I mean, what does C know about closures? Well, it looks like OpenMCL may be clever enough to do it:
This does look nice!
I'm not sure right now how to unwed from OpenMCL. I'm hoping that can be achieved with the appropriate macrology and CLOS classes. At the moment, I'm placing a higher priority on getting a class structure worked out that favors CLOS's features.
That's exactly how I was starting to sketch out the abstraction... so far the main conceptual difficulty is the fight between macro vs. OO-style, and I haven't come down on one side or the other yet.
--chris