summaryrefslogtreecommitdiffstats
path: root/cli/runtime-source.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright yearKaren Arutyunov2019-01-161-1/+1
|
* Add optional message to invalid_option exceptionBoris Kolpackov2018-07-071-0/+3
|
* Update copyright yearKaren Arutyunov2018-05-211-1/+1
|
* Implement combined flags (-xyz vs -x -y -z) and values (--foo=bar) supportBoris Kolpackov2018-04-011-6/+45
| | | | | Both are enabled by default but can be disable with --no-combined-flags and --no-combined-values options.
* Implement group_scannerBoris Kolpackov2018-03-211-0/+206
|
* Guarantee validity of values returned by scanner for two argumentsBoris Kolpackov2018-03-211-3/+3
|
* Update copyright yearBoris Kolpackov2017-01-031-1/+1
|
* Start switch to build2Boris Kolpackov2016-11-151-1/+1
|
* Add support for generating vector<string> scanner (--generate-vector-scanner)Boris Kolpackov2016-02-121-0/+41
|
* Improve generic value parser (extract char)Boris Kolpackov2016-02-111-4/+7
|
* Implement entire page usage generationBoris Kolpackov2015-11-191-2/+2
|
* Fix std::map parser implementationBoris Kolpackov2015-11-191-4/+6
|
* Redo map parser to use sub-parsers for key, valueBoris Kolpackov2015-11-161-26/+10
|
* Add support for specifying output stream type (--stream-type)Boris Kolpackov2012-06-151-15/+19
|
* Generate certain template runtime code in every source fileBoris Kolpackov2012-06-031-373/+382
| | | | | | | This is needed if the cli runtime is included from another file instead of being generated. The alternative would be to move that code to the header file. However, that would also require including a lot of standard headers in the generated header file.
* Store option names as std::string instead of const char*Boris Kolpackov2011-01-231-3/+3
| | | | | | | With the scanner interface we now cannot assume that the returned value will still be valid after another call to more(). This was the case when we were always scanning argv/argc but now that we have the file scanner, we have to be careful.
* Allow the options file search function to ignore the fileBoris Kolpackov2011-01-231-4/+14
|
* Add support for multiple file options and file search callbacksBoris Kolpackov2011-01-201-6/+29
|
* Use correct parser interfaceBoris Kolpackov2011-01-041-6/+12
|
* Copyright updateBoris Kolpackov2011-01-041-1/+1
|
* Add option description that can be examined at runtime.Boris Kolpackov2010-11-191-0/+19
| | | | New option: --generate-description.
* Implement the --cli-namespace optionBoris Kolpackov2010-09-141-3/+2
|
* Pass missing argument in vector and set parsersBoris Kolpackov2010-08-031-2/+4
|
* Add support for single quotes in option filesBoris Kolpackov2010-06-041-2/+3
|
* Add support for quoting in option file scannerBoris Kolpackov2010-06-021-2/+34
|
* Implement generation of specifier functions (--generate-specifier)Boris Kolpackov2010-06-021-17/+52
| | | | | These functions determine whether the option was specified on the command line. New test: specifier.
* Update copyrightBoris Kolpackov2010-01-011-1/+1
|
* Scanner-based parsing with support for element erasingBoris Kolpackov2009-12-101-5/+223
| | | | | | Also implement argv_file_scanner which provides support for reading command line arguments from the argv array as well as files specified with command line options. New examples: file. New tests: ctor, erase, file.
* Use a scanner interface instead of argc/argvBoris Kolpackov2009-11-281-45/+107
| | | | | This will allow supporting other sources of options, for example, an option file.
* Use assignment initialization for fundamental typesBoris Kolpackov2009-10-281-3/+3
|
* Add a parser for std::setBoris Kolpackov2009-10-041-0/+16
|
* Add a parser for std::mapBoris Kolpackov2009-10-041-1/+58
|
* Generate parsing constructors and parsing codeBoris Kolpackov2009-09-271-0/+177
Also generate some runtime support code such exceptions, value parsers, etc.