gnucap-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnucap-devel] help branch


From: al davis
Subject: [Gnucap-devel] help branch
Date: Fri, 30 Jan 2015 23:06:11 -0500
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

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??



reply via email to

[Prev in Thread] Current Thread [Next in Thread]