There's a help branch now...

This is the result of some work and discussions last summer, 
thanks to Rishabh and summer of code.  Try this, try that, 
eventually you get to something you want to keep.  It's rare to 
get it right the first time.



It adds a help command/plugin.

Also, changes to core ....  a common base class for dispatchers, 
and things in dispatchers all inherit CKT_BASE.  Most did 
already, but it is a requirement now.

The reason .. so they can all have help() and help_text().

For the simplest help,  the help command (c_help.cc) finds it, 
passes it on to code in e_base.cc that either prints the 
beginning of help_text (virtual function) or looks for a 
subtopic.  Mostly, only help_text is needed for specific things.

The reason for the virtual help() in e_base is to allow for 
other ways to do it, like automatically generating a list of 
possible parameters.

So ...  looking for help .....  does somebody want to write a 
bunch of help_text()'s??

_______________________________________________
Gnucap-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnucap-devel

Reply via email to