Re: Documentation strings for class-slots
- From: Pascal Costanza <pc@xxxxxxxxx>
- Date: Sun, 18 Jun 2006 19:34:58 +0200
Pascal Bourguignon wrote:
ocorrain@xxxxxxxxx (Tiarnán Ó Corráin) writes:is there any (quasi-portable) way to extract doc-strings for
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?
Even MOP doesn't specify anything to retrieve the slot 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.
Pascal
--
3rd European Lisp Workshop
July 3 - Nantes, France - co-located with ECOOP 2006
http://lisp-ecoop06.bknr.net/
.
- Follow-Ups:
- Re: Documentation strings for class-slots
- From: Pascal Bourguignon
- Re: Documentation strings for class-slots
- References:
- Documentation strings for class-slots
- From: Tiarnán Ó Corráin
- Re: Documentation strings for class-slots
- From: Pascal Bourguignon
- 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
|