[X] The "/ElixirFM Documents/Any/elixir-slides.pdf.zip" file could not be found or is not available. Please select another file.

Genparse is a command line parser generator. Based on a simple description of the command line options you want in your program, genparse creates the necessary C, C++ or Java code for their processing.


http://genparse.sourceforge.net





Separate each tag with a space.

Release Date:

2009-05-17

Topic:

Operating System:

License:

Intended Audience:

Programming Language:

Registered:

2000-04-05

Ratings and Reviews

Be the first to post a text review of Genparse. Rate and review a project by clicking thumbs up or thumbs down in the right column.

Project Feed

  • genparse 0.8.3 file released: genparse-0.8.3.tar.gz

    2009-05-17 Michael Geng <linux@michaelgeng.de> * uninitialized variable fixed * memory leaks fixed 2009-02-20 Michael Geng <linux@michaelgeng.de> * genparse java tests can be compiled with gcj version 4.3 2008-11-16 Michael Geng <linux@michaelgeng.de> * genparse compiles with gcc version 4.4 2008-10-30 Michael Geng <linux@michaelgeng.de> * genparse no longer crashes when it tries to remove commas from the username while writing the comment headers 2008-10-29 Michael Geng <linux@michaelgeng.de> * Fix improper use of string::erase () in userinfo.cc 2008-08-20 Michael Geng <linux@michaelgeng.de> * requirement for TMPDIR environment variable in Java tests removed 2008-07-13 Michael Geng <linux@michaelgeng.de> * allow dashes ('-') in include files 2008-07-12 Michael Geng <linux@michaelgeng.de> * Changes in order to compile with newer versions of gcc and the C++ Standard Template Library 2008-01-18 Michael Geng <linux@michaelgeng.de> * __CODE__ directive added for specifying user defined code related to command line parameters * __COMMAND__ removed because __CODE__ replaces it * New global directive #no_struct in order to give the user the possibility to define all actions on command line switches on his own which adds the possibility to specify user defined code which is executed when a command line parameter is specified. 2007-12-26 Michael Geng <linux@michaelgeng.de> * The examples and the test scripts are no longer installed on "make install" 2007-12-23 Michael Geng <linux@michaelgeng.de> * Descriptive text for command line parameters will be printed starting in the 1st column if it starts in the 1st column in the Genparse file * ping commmand from the GNU inetutils added to examples * conversion to double uses c_strtod only if called with --internationalize * setter and getter functions in classes Clparam and Cldesc start with set_ or get_ * new directive __ADD_FLAG__ 2007-12-16 Michael Geng <linux@michaelgeng.de> * Updated to newer versions of automake, autoconf, gnulib and Java tools * __ERR_MSG__ can have a conversion function as an optional argument 2007-11-21 Michael Geng <linux@michaelgeng.de> * make distcheck works now 2007-11-20 Michael Geng <linux@michaelgeng.de> * Test script string renamed to string_macro because of a naming conflict with the string include file in the C++ standard library 2007-11-13 Michael Geng <linux@michaelgeng.de> * A lot of new tests added, especially for testing the usage function * A lot of bugs fixed which were discovered with the above tests * All tests moved to tests directory * __MANDATORIES__ marked as deprecated in the documentation 2007-10-16 Michael Geng <linux@michaelgeng.de> * If --manyprints is set then a new print command starts also before the description of the 1st command line parameter 2007-10-12 Michael Geng <linux@michaelgeng.de> * New option -P / --manyprints * New directive __COMMENT__(text) in the #usage section * For C output: use puts () instead of printf () if the printed text has no arguments * Parsing of brackets for directives improved * __NEW_PRINT__ directive now also allowed for C++ and Java output * gnulib updated to version from Sept 2007 * Genparse file grammar section updated in the docu 2007-10-04 Michael Geng <linux@michaelgeng.de> * New option -g / gnulib, which adds support for the Gnulib * If --gnulib is set then new types are supported (long int, unsigned long int, intmax_t, uintmax_t and double * New directive __ERR_MSG__ for customizing the error message if the conversion fails * Directive #store_longindex renamed to __STORE_LONGINDEX__ 2007-09-21 Michael Geng <linux@michaelgeng.de> * New directive #gp_include in the Genparse file which allows including other Genparse files into the main Genparse file * New directive #store_longindex in the parameters section * Added the following directives in the #usage section: __NEW_PRINT__, __COMMAND__, __NL__ * New global directive #export_long_options * Added a spaces before opening braces according with the GNU coding style, both in the Genparse source and in the generated parser code * Added GPL preambles to all source files 2007-09-13 Michael Geng <linux@michaelgeng.de> * New global directive #break_lines in the Genparse file * New option -s / --static-headers 2007-08-22 Michael Geng <linux@michaelgeng.de> * new global directive #exit_value in the Genparse file * only 1 global callback function supported 2007-08-19 Michael Geng <linux@michaelgeng.de> * support for optional parameters added * tail command added to examples 2007-08-18 Michael Geng <linux@michaelgeng.de> * parameter callbacks now get names as specified in the Genparse file * multiple parameters can use the same callback function 2007-08-12 Michael Geng <linux@michaelgeng.de> * It is now possible to include int macros from other files in the usage() function 2007-07-22 Michael Geng <linux@michaelgeng.de> * It is now possible to include string macros from other files in the usage() function 2007-07-09 Michael Geng <linux@michaelgeng.de> * status passed to usage() function as an argument * Genparse no longer generates a "duplicate parameter" error if Genparse file has an entry "NONE / help" or "NONE / version" 2007-07-08 Michael Geng <linux@michaelgeng.de> * New command line switch -i / --internationalize * Optional designation "opt_name" for long options added 2007-06-23 Michael Geng <linux@michaelgeng.de> * Genparse no longer generates any code which allocates memory on the heap, i.e. no calls to malloc(), strdup() et al. Unfortunately this implies that the parser function is changed for the C output. It receives a pointer to an arg_t struct now instead of passing such a struct as the return value. 2007-06-16 Michael Geng <linux@michaelgeng.de> * Check not only file opening but also file write and close operations * acconfig.h removed 2007-06-11 Michael Geng <linux@michaelgeng.de> * It now compiles also when doxygen, texi2html, texi2pdf or man2html are not installed 2007-06-10 Michael Geng <linux@michaelgeng.de> * It now compiles also when gcj or junit are not installed 2007-06-09 Michael Geng <linux@michaelgeng.de> * It now compiles also when no cunit or no cppunit is installed * configure.in renamed to configure.ac 2007-06-06 Michael Geng <linux@michaelgeng.de> * Project homepage updated 2007-04-21 Michael Geng <linux@michaelgeng.de> * single digit options allowed (e.g. -1) 2007-04-16 Michael Geng <linux@michaelgeng.de> * mv command added to examples 2007-04-14 Michael Geng <linux@michaelgeng.de> * Indentation width for GNU style parameter glossary is now configurable 2007-04-12 Michael Geng <linux@michaelgeng.de> * Keywords in #usage section converted to upper case * Indentation changed for GNU style parameter glossary (help screen) 2007-04-08 Michael Geng <linux@michaelgeng.de> * GNU style glossary is now also able to print multiple line parameter descriptions 2007-04-06 Michael Geng <linux@michaelgeng.de> * Parameter list on help screen printed by usage() function can now optionally be printed in GNU style * Dashes in long parameter names are now allowed * Some include files added in order to compile with gcc version 4.3 2007-03-30 Michael Geng <linux@michaelgeng.de> * usage() function can now be configured by specifying a usage section in the Genparse file * The program name can now appear more than once in the usage() function 2007-03-18 Michael Geng <linux@michaelgeng.de> * Language independent part of usage() function is now performed in the base class (Clparam_list). * Few long print commands instead of many short ones in the generated output in the usage() function. * invocation_list removed from parser file and parser class because it's unused. 2007-03-13 Michael Geng <linux@michaelgeng.de> * Multiple short options for 1 command line switch possible 2007-03-10 Michael Geng <linux@michaelgeng.de> * Support for Java output added * New genparse option --directory 2007-03-06 Michael Geng <linux@michaelgeng.de> * It is now possible to have include files in double quotes in the generated files, not only in angle brackets. 2007-01-21 Michael Geng <linux@michaelgeng.de> * New command line switch --longmembers 2007-01-03 Michael Geng <linux@michaelgeng.de> * cunit test added (new folder ccheck) 2006-11-19 Michael Geng <linux@michaelgeng.de> * Doxygen documentation started * Factory class added for creating language specific sub class of Clparam_list 2006-11-10 Michael Geng <linux@michaelgeng.de> * Langage specific file generation moved from class Clparam_list to sub classes 2006-11-04 Michael Geng <linux@michaelgeng.de> * Clparam_list::str2comment and Clparam_list::str2upper simplified 2006-11-03 Michael Geng <linux@michaelgeng.de> * Now reports a "duplicate parameter" message also when only the long form is duplicate 2006-10-29 Michael Geng <linux@michaelgeng.de> * Default values for char parameters added * Autogenerated files doc/version.texi and doc/stamp-vti removed from the archive * Missing file updated 2006-10-07 Michael Geng <linux@michaelgeng.de> * Source file containing callback file (<test_name>.clp_cb.cc) no longer included * Additional test added to cppunit in order to check the callback functions 2006-09-28 Michael Geng <linux@michaelgeng.de> * cppunit test added (new folder cppcheck) new target check added to Makefile * Existing test folder renamed to examples * Files regenerated with automake version 1.9.5 2006-09-06 Michael Geng <linux@michaelgeng.de> * Bug with ostringstream usage fixed. genparse crashed when called without command line options. * gcc option -Wstrict-prototypes removed because this option is not valid for C++. 2006-09-05 Michael Geng <linux@michaelgeng.de> * Man page imported from Debian 2006-09-02 Michael Geng <linux@michaelgeng.de> * Update all sources in order to compile with version 3 of the C++ standard library * Reset global optind in order to make it possible to instantiate the genparse generated parser class multiple times within the same program * config files regenerated with autoconv version 2.59 and automake version 1.7.9 * In the test subdirectory: execute genparse from ../src * docu updated, especially the link to the project home page, it is now: http://sourceforge.net/projects/genparse * .deps and stamp-vti in the root directory deleted 2000-10-22 Mike Borella <mike@borella.net> * Merged getopt.cc and getopt_internal.cc into getopt.cc * Added #invocation command to grammar * Added html support for documentation. Just type 'make html' * src/userinfo.cc: Added check for presence of cygwin * src/clparam.cc: Added get_descriptions(). * src/clparam.cc: Fixed output of _longopt_value in debug mode so that itactually works. * src/clparam.cc: Changed usage function output so that multiple descriptions work, and so that type, range, and default values are displayed.

    posted 217 days ago

  • Forum comment added

    mgeng commented on the RE: std::out_of_range error forum thread

    posted by mgeng 217 days ago

  • File released: /genparse/0.8.3/genparse-0.8.3.tar.gz

    posted 217 days ago

  • Code committed

    mgeng committed patchset 521 of module genparse to the Genparse CVS repository, changing 31 files

    posted by mgeng 217 days ago

  • Code committed

    mgeng committed patchset 520 of module genparse to the Genparse CVS repository, changing 2 files

    posted by mgeng 217 days ago

  • Code committed

    mgeng committed patchset 519 of module genparse to the Genparse CVS repository, changing 1 files

    posted by mgeng 217 days ago

  • Code committed

    mgeng committed patchset 518 of module genparse to the Genparse CVS repository, changing 1 files

    posted by mgeng 217 days ago

  • Forum comment added

    mgeng commented on the RE: std::out_of_range error forum thread

    posted by mgeng 241 days ago

  • Forum comment added

    tienhn commented on the RE: std::out_of_range error forum thread

    posted by tienhn 242 days ago

  • genparse 0.8.2 file released: genparse-0.8.2.tar.gz

    2009-02-20 Michael Geng <linux@michaelgeng.de> * genparse java tests can be compiled with gcj version 4.3 2008-11-16 Michael Geng <linux@michaelgeng.de> * genparse compiles with gcc version 4.4 2008-10-30 Michael Geng <linux@michaelgeng.de> * genparse no longer crashes when it tries to remove commas from the username while writing the comment headers 2008-10-29 Michael Geng <linux@michaelgeng.de> * Fix improper use of string::erase () in userinfo.cc 2008-08-20 Michael Geng <linux@michaelgeng.de> * requirement for TMPDIR environment variable in Java tests removed 2008-07-13 Michael Geng <linux@michaelgeng.de> * allow dashes ('-') in include files 2008-07-12 Michael Geng <linux@michaelgeng.de> * Changes in order to compile with newer versions of gcc and the C++ Standard Template Library 2008-01-18 Michael Geng <linux@michaelgeng.de> * __CODE__ directive added for specifying user defined code related to command line parameters * __COMMAND__ removed because __CODE__ replaces it * New global directive #no_struct in order to give the user the possibility to define all actions on command line switches on his own which adds the possibility to specify user defined code which is executed when a command line parameter is specified. 2007-12-26 Michael Geng <linux@michaelgeng.de> * The examples and the test scripts are no longer installed on "make install" 2007-12-23 Michael Geng <linux@michaelgeng.de> * Descriptive text for command line parameters will be printed starting in the 1st column if it starts in the 1st column in the Genparse file * ping commmand from the GNU inetutils added to examples * conversion to double uses c_strtod only if called with --internationalize * setter and getter functions in classes Clparam and Cldesc start with set_ or get_ * new directive __ADD_FLAG__ 2007-12-16 Michael Geng <linux@michaelgeng.de> * Updated to newer versions of automake, autoconf, gnulib and Java tools * __ERR_MSG__ can have a conversion function as an optional argument 2007-11-21 Michael Geng <linux@michaelgeng.de> * make distcheck works now 2007-11-20 Michael Geng <linux@michaelgeng.de> * Test script string renamed to string_macro because of a naming conflict with the string include file in the C++ standard library 2007-11-13 Michael Geng <linux@michaelgeng.de> * A lot of new tests added, especially for testing the usage function * A lot of bugs fixed which were discovered with the above tests * All tests moved to tests directory * __MANDATORIES__ marked as deprecated in the documentation 2007-10-16 Michael Geng <linux@michaelgeng.de> * If --manyprints is set then a new print command starts also before the description of the 1st command line parameter 2007-10-12 Michael Geng <linux@michaelgeng.de> * New option -P / --manyprints * New directive __COMMENT__(text) in the #usage section * For C output: use puts () instead of printf () if the printed text has no arguments * Parsing of brackets for directives improved * __NEW_PRINT__ directive now also allowed for C++ and Java output * gnulib updated to version from Sept 2007 * Genparse file grammar section updated in the docu 2007-10-04 Michael Geng <linux@michaelgeng.de> * New option -g / gnulib, which adds support for the Gnulib * If --gnulib is set then new types are supported (long int, unsigned long int, intmax_t, uintmax_t and double * New directive __ERR_MSG__ for customizing the error message if the conversion fails * Directive #store_longindex renamed to __STORE_LONGINDEX__ 2007-09-21 Michael Geng <linux@michaelgeng.de> * New directive #gp_include in the Genparse file which allows including other Genparse files into the main Genparse file * New directive #store_longindex in the parameters section * Added the following directives in the #usage section: __NEW_PRINT__, __COMMAND__, __NL__ * New global directive #export_long_options * Added a spaces before opening braces according with the GNU coding style, both in the Genparse source and in the generated parser code * Added GPL preambles to all source files 2007-09-13 Michael Geng <linux@michaelgeng.de> * New global directive #break_lines in the Genparse file * New option -s / --static-headers 2007-08-22 Michael Geng <linux@michaelgeng.de> * new global directive #exit_value in the Genparse file * only 1 global callback function supported 2007-08-19 Michael Geng <linux@michaelgeng.de> * support for optional parameters added * tail command added to examples 2007-08-18 Michael Geng <linux@michaelgeng.de> * parameter callbacks now get names as specified in the Genparse file * multiple parameters can use the same callback function 2007-08-12 Michael Geng <linux@michaelgeng.de> * It is now possible to include int macros from other files in the usage() function 2007-07-22 Michael Geng <linux@michaelgeng.de> * It is now possible to include string macros from other files in the usage() function 2007-07-09 Michael Geng <linux@michaelgeng.de> * status passed to usage() function as an argument * Genparse no longer generates a "duplicate parameter" error if Genparse file has an entry "NONE / help" or "NONE / version" 2007-07-08 Michael Geng <linux@michaelgeng.de> * New command line switch -i / --internationalize * Optional designation "opt_name" for long options added 2007-06-23 Michael Geng <linux@michaelgeng.de> * Genparse no longer generates any code which allocates memory on the heap, i.e. no calls to malloc(), strdup() et al. Unfortunately this implies that the parser function is changed for the C output. It receives a pointer to an arg_t struct now instead of passing such a struct as the return value. 2007-06-16 Michael Geng <linux@michaelgeng.de> * Check not only file opening but also file write and close operations * acconfig.h removed 2007-06-11 Michael Geng <linux@michaelgeng.de> * It now compiles also when doxygen, texi2html, texi2pdf or man2html are not installed 2007-06-10 Michael Geng <linux@michaelgeng.de> * It now compiles also when gcj or junit are not installed 2007-06-09 Michael Geng <linux@michaelgeng.de> * It now compiles also when no cunit or no cppunit is installed * configure.in renamed to configure.ac 2007-06-06 Michael Geng <linux@michaelgeng.de> * Project homepage updated 2007-04-21 Michael Geng <linux@michaelgeng.de> * single digit options allowed (e.g. -1) 2007-04-16 Michael Geng <linux@michaelgeng.de> * mv command added to examples 2007-04-14 Michael Geng <linux@michaelgeng.de> * Indentation width for GNU style parameter glossary is now configurable 2007-04-12 Michael Geng <linux@michaelgeng.de> * Keywords in #usage section converted to upper case * Indentation changed for GNU style parameter glossary (help screen) 2007-04-08 Michael Geng <linux@michaelgeng.de> * GNU style glossary is now also able to print multiple line parameter descriptions 2007-04-06 Michael Geng <linux@michaelgeng.de> * Parameter list on help screen printed by usage() function can now optionally be printed in GNU style * Dashes in long parameter names are now allowed * Some include files added in order to compile with gcc version 4.3 2007-03-30 Michael Geng <linux@michaelgeng.de> * usage() function can now be configured by specifying a usage section in the Genparse file * The program name can now appear more than once in the usage() function 2007-03-18 Michael Geng <linux@michaelgeng.de> * Language independent part of usage() function is now performed in the base class (Clparam_list). * Few long print commands instead of many short ones in the generated output in the usage() function. * invocation_list removed from parser file and parser class because it's unused. 2007-03-13 Michael Geng <linux@michaelgeng.de> * Multiple short options for 1 command line switch possible 2007-03-10 Michael Geng <linux@michaelgeng.de> * Support for Java output added * New genparse option --directory 2007-03-06 Michael Geng <linux@michaelgeng.de> * It is now possible to have include files in double quotes in the generated files, not only in angle brackets. 2007-01-21 Michael Geng <linux@michaelgeng.de> * New command line switch --longmembers 2007-01-03 Michael Geng <linux@michaelgeng.de> * cunit test added (new folder ccheck) 2006-11-19 Michael Geng <linux@michaelgeng.de> * Doxygen documentation started * Factory class added for creating language specific sub class of Clparam_list 2006-11-10 Michael Geng <linux@michaelgeng.de> * Langage specific file generation moved from class Clparam_list to sub classes 2006-11-04 Michael Geng <linux@michaelgeng.de> * Clparam_list::str2comment and Clparam_list::str2upper simplified 2006-11-03 Michael Geng <linux@michaelgeng.de> * Now reports a "duplicate parameter" message also when only the long form is duplicate 2006-10-29 Michael Geng <linux@michaelgeng.de> * Default values for char parameters added * Autogenerated files doc/version.texi and doc/stamp-vti removed from the archive * Missing file updated 2006-10-07 Michael Geng <linux@michaelgeng.de> * Source file containing callback file (<test_name>.clp_cb.cc) no longer included * Additional test added to cppunit in order to check the callback functions 2006-09-28 Michael Geng <linux@michaelgeng.de> * cppunit test added (new folder cppcheck) new target check added to Makefile * Existing test folder renamed to examples * Files regenerated with automake version 1.9.5 2006-09-06 Michael Geng <linux@michaelgeng.de> * Bug with ostringstream usage fixed. genparse crashed when called without command line options. * gcc option -Wstrict-prototypes removed because this option is not valid for C++. 2006-09-05 Michael Geng <linux@michaelgeng.de> * Man page imported from Debian 2006-09-02 Michael Geng <linux@michaelgeng.de> * Update all sources in order to compile with version 3 of the C++ standard library * Reset global optind in order to make it possible to instantiate the genparse generated parser class multiple times within the same program * config files regenerated with autoconv version 2.59 and automake version 1.7.9 * In the test subdirectory: execute genparse from ../src * docu updated, especially the link to the project home page, it is now: http://sourceforge.net/projects/genparse * .deps and stamp-vti in the root directory deleted 2000-10-22 Mike Borella <mike@borella.net> * Merged getopt.cc and getopt_internal.cc into getopt.cc * Added #invocation command to grammar * Added html support for documentation. Just type 'make html' * src/userinfo.cc: Added check for presence of cygwin * src/clparam.cc: Added get_descriptions(). * src/clparam.cc: Fixed output of _longopt_value in debug mode so that itactually works. * src/clparam.cc: Changed usage function output so that multiple descriptions work, and so that type, range, and default values are displayed.

    posted 303 days ago

Rate and Review

Be the first person to add a text review.

Would you recommend this project?






<

Related Projects

Genparse Actions

Thanks for your rating!

Would you also like to write a review?





Skip Review

Thanks for your review!

Get credit for your review by logging in via OpenID. Click your account provider:

No Thanks