[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling CLOS methods.

    Date: Thu, 15 Mar 90 09:56 PST
    From: RDP@ALAN.kahuna.decnet.lasc-research.lockheed.com (Robert D.

    Can anyone tell me whether a CLOS analogue of COMPILE-FLAVOR-METHODS is
    available in Genera 8.0?  The document "Getting Ready for CLOS" has the
    entry "S-CLOS extension".  But the 8.0 Beta documentation seems to be
    completely mute on this topic (I used the Document Examiner to quickly
    and efficiently check :-) ).  Do I no longer need to worry about
    including a form to explicitly do this?  (It always seemed like just so
    much baggage anyway.)

CLOS doesn't associate methods with a specific class, so there is no
obvious analogue to COMPILE-FLAVOR-METHODS that takes a class as an
argument.  Lucid CLOS (in Lucid 4.0) has as an extension the macro
COMPILE-ALL-DISPATCH-CODE, which could be defined in Flavors as

(defmacro compile-all-dispatch-code ()
  `(compile-flavor-methods . ,sys:*all-flavor-names*))