I think James Owen wrote: 

> JavaDoc ... XML ... Perl script ... chapter 20 in JIA book

All worthy ideas, but I should point out the "official" mechanism, the
"documentation comment", which every Jess rule, function, template,
etc. can have:

    (defrule rule-name
      "This is a documentation comment. It can contain arbitary text
       and span multiple lines."
      ...

These comments get stored in the Java representation of the Jess
construct and are available at runtime via a method named
"getDocstring()" in the Defrule, Deftemplate, Deffunction, etc,
classes. So you can use the Jess parser to parse Jess code, then ask
each construct for its own documentation.


---------------------------------------------------------
Ernest Friedman-Hill  
Advanced Software Research          Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550         http://herzberg.ca.sandia.gov
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to