Re: Documentation strings for class-slots
- From: Pascal Bourguignon <pjb@xxxxxxxxxxxxxxxxx>
- Date: Sun, 18 Jun 2006 22:46:15 +0200
Pascal Costanza <pc@xxxxxxxxx> writes:
Pascal Bourguignon wrote:
ocorrain@xxxxxxxxx (Tiarnán Ó Corráin) writes:
is there any (quasi-portable) way to extract doc-strings forEven MOP doesn't specify anything to retrieve the slot
individual class slots? The hyperspec is terse:
This standard prescribes no means to retrieve the documentation
strings for individual slots specified in a defclass form, but
implementations might still provide debugging tools and/or
programming language extensions which manipulate this
information. Implementors wishing to provide such support are
encouraged to consult the Metaobject Protocol for suggestions about
how this might be done.
Has any consensus been reached?
documentation:
http://www.lisp.org/mop/dictionary.html#slotd-mo-readers
That's incorrect. The MOP specifies that it should be possible to
retrieve the :documentation option for slot definition metaobjects via
documentation. See "Initialization of Slot Definition Metaobjects" in
the CLOS MOP spec.
Good. Sorry for the misleading assertion.
--
__Pascal Bourguignon__ http://www.informatimago.com/
"Klingon function calls do not have "parameters" -- they have
"arguments" and they ALWAYS WIN THEM."
.
- References:
- Documentation strings for class-slots
- From: Tiarnán Ó Corráin
- Re: Documentation strings for class-slots
- From: Pascal Bourguignon
- Re: Documentation strings for class-slots
- From: Pascal Costanza
- Documentation strings for class-slots
- Prev by Date: Re: lisp compiler for the Z80
- Next by Date: Re: lisp compiler for the Z80
- Previous by thread: Re: Documentation strings for class-slots
- Next by thread: Re: Documentation strings for class-slots
- Index(es):
Relevant Pages
|