[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: user interface macros
- To: David A. Moon <Moon@STONY-BROOK.SCRC.Symbolics.COM>, David Gray <gray@lucid.com>
- Subject: Re: user interface macros
- From: Gregor J. Kiczales <gregor@parc.xerox.com>
- Date: Mon, 7 May 90 13:07 PDT
- Cc: Cyphers@STONY-BROOK.SCRC.Symbolics.COM, Jon L White <jonl@lucid.com>, Danny Bobrow <bobrow@parc.xerox.com>, rivieres@parc.xerox.com, Richard P. Gabriel <rpg@lucid.com>, Dussud@Lucid.com, jkf@franz.com, paepcke@hplap.hpl.hp.com, jutta@ztivax.siemens.com, mop.pa@Xerox.COM
- In-reply-to: <19900507143030.7.MOON@KENNETH-WILLIAMS.SCRC.Symbolics.COM>, <9005071746.AA11029@black-monday>
Just to comment quickly on this one little issue:
Date: Mon, 7 May 90 10:46:44 PDT
From: David Gray <gray@lucid.com>
> To be specific, I think what you want to do about DEFCLASS is to define
> precisely how each of the standard options is passed through, and not to
> define at all whether and how nonstandard options are passed through,
> other than to mention that nonstandard options might be present and to
> discuss the naming restrictions (packages).
That would be sufficient for implementation-defined options, but
non-standard options should also include user-defined options. In order
for the metaclass writer to be able to define new options, there needs to
be a standard correspondence between the DEFCLASS form and the arguments to
ENSURE-CLASS-USING-CLASS.
I agree with David (Gray) that we need to do a little more than what
David (Moon) suggests. My proposal (admittedely cluttered by typos)
was to specify a minimal, simple behavior for DEFCLASS and DEFGENERIC
processing of non-standard options. Enough to get some power out of
it, but by no means fully featured. We would also say explictly that
an implementations are free to extend or modify this behavior.
Single appearance options which simply quote their value would be
supported by the minimal, specified behavior. For anything else you
would need to use your own macro or implementation-specific tools. I
believe This will get enough more than saying nothing about how
non-standard options are passed through that it is worth doing.