Re: Announcing RMCL

Ron Garret <[email protected]>
Newsgroups gmane.lisp.mcl.general
Message-ID <[email protected]>
On May 27, 2009, at 11:32 AM, Brian Mastenbrook wrote:

> On May 27, 2009, at 1:20 PM, Terje Norderhaug wrote:
>
>>
>> On May 27, 2009, at 9:34 AM, Andrew Shalit wrote:
>>> Dear MCL Users -
>>>
>>> I'm happy to announce the immediate availability of RMCL, a version
>>> of
>>> Macintosh Common Lisp (MCL) that runs under Rosetta on Mac OS X
>>> version 10.5 using Intel hardware.
>>
>> Fantastic! I am very excited about its prospects.
>
>
> Don't get your hopes up too much.

Indeed.  I've already found one serious bug:


Welcome to Macintosh Common Lisp Version 5.1b1!
? (defclass a () ())
#<STANDARD-CLASS A>
? (defmethod m ((a a)) 'a)
#<STANDARD-METHOD M (A)>
? (defclass b () ())
#<STANDARD-CLASS B>
? (m (make-instance 'b))
 > Error: No applicable method for args:
 >         (#<B #x14D166E>)
 >        to #<STANDARD-GENERIC-FUNCTION M #x14CFBD6>
 > While executing: #<CCL::STANDARD-KERNEL-METHOD NO-APPLICABLE-METHOD  
(T)>
 > Type Command-. to abort.
See the Restarts… menu item for further choices.
1 >
Aborted
? (defclass b (a) ())
#<STANDARD-CLASS B>
? (m (make-instance 'b))
 > Error: No applicable method for args:
 >         (#<B #x14D639E>)
 >        to #<STANDARD-GENERIC-FUNCTION M #x14CFBD6>
 > While executing: #<CCL::STANDARD-KERNEL-METHOD NO-APPLICABLE-METHOD  
(T)>
 > Type Command-. to abort.
See the Restarts… menu item for further choices.
1 >

Apparently, the applicable method cache is not being reset when an  
class is redefined.  The bug shows up the other way too:

? (defclass c (a) ())
#<STANDARD-CLASS C>
? (m (make-instance 'c))
A
? (defclass c () ())
#<STANDARD-CLASS C>
? (m (make-instance 'c))
A
? (find-method #'m () (list (find-class 'c)))
 > Error: #<STANDARD-GENERIC-FUNCTION M #x14CFBD6> has no method for  
NIL (#<STANDARD-CLASS C>)
 > While executing: #<CCL::STANDARD-KERNEL-METHOD FIND-METHOD  
(STANDARD-GENERIC-FUNCTION T T)>
 > Type Command-. to abort.
See the Restarts… menu item for further choices.
1 >


I was about ready to give RMCL a big woo-hoo, but not being able to  
redefine classes is a show-stopper for me.

rg

_______________________________________________
info-mcl mailing list
[email protected]
http://clozure.com/mailman/listinfo/info-mcl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.