[closer-devel] Closer to MOP improvements

Pascal Costanza pc at p-cos.net
Mon Nov 2 18:41:46 UTC 2009


Hi,

I just checked in some changes to the darcs repository for Closer to  
MOP. This is a major update, with the most significant change being  
better support for the generic function invocation protocols across  
several Common Lisp implementations, i.e., clisp, Clozure Common Lisp,  
LispWorks and SBCL. In all these versions, the major parts of these  
protocols work as specified in AMOP, including MAKE-METHOD-LAMBDA,  
COMPUTE-APPLICABLE-METHODS, COMPUTE-APPLICABLE-METHODS-USING-CLASSES,  
COMPUTE-EFFECTIVE-METHOD, and, as an add-on, COMPUTE-EFFECTIVE-METHOD- 
FUNCTION.

There are also some other minor changes. One that could affect  
existing programs is that Closer to MOP is now less 'aggressive' in  
forcing its own versions of the standard metaclasses on user code. So,  
for example, DEFCLASS now uses CL:STANDARD-CLASS all the time, unless  
an explicit :METACLASS options specifies C2MOP:STANDARD-CLASS or one  
of its subclasses. This is to ensure that straightforward uses of such  
macros don't incur a serious performance penalty.

I will document these changes later, when I turn them into a major new  
release of Closer to MOP.

The next step is to publish the code for filtered functions, which  
need the proper generic function invocation protocols to work  
correctly. See further announcements in the coming days or weeks.


Best,
Pascal

-- 
Pascal Costanza, mailto:pc at p-cos.net, http://p-cos.net
Vrije Universiteit Brussel
Software Languages Lab
Pleinlaan 2, B-1050 Brussel, Belgium










More information about the closer-devel mailing list