[Openmcl-devel] Extracting doc strings from slots

Sven Van Caekenberghe sven at beta9.be
Tue May 13 14:16:48 PDT 2003


Hi all,

I am trying to write a tool that could autogenerate documentation for 
symbols exported from a package. For each symbol I try to find the 
standard common lisp documentation. For a class (and hopefully also for 
structures) I would like to find back the slot documentation. Given a 
class like the one below, I would like to get the list of slots, and 
for each slot (probably through its meta object), I want to retrieve 
the documentation (that I then would want to map to the 
reader/writer/accessor function).

Is that possible in OpenMCL ? I know that the MOP is not complete, but 
maybe this information can be found somewhere nonetheless ?

(defclass xml-parser-state ()
   ((entities
             :documentation "A hashtable mapping XML entity names tp 
their replacement stings"
	     :accessor get-entities
	     :initarg :entities
	     :initform (make-standard-entities))
    (seed
         :documentation "The user seed object"
	 :accessor get-seed
	 :initarg :seed
	 :initform nil)
    (buffer
           :documentation "The main reusable character buffer"
	   :accessor get-buffer
	   :initform (make-extendable-string)))
   (:documentation "State of the XML parser"))

Thx,

Sven


_______________________________________________
Openmcl-devel mailing list
Openmcl-devel at clozure.com
http://clozure.com/cgi-bin/mailman/listinfo/openmcl-devel



More information about the Openmcl-devel mailing list