summaryrefslogtreecommitdiffstats
path: root/cli/parser.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright yearKaren Arutyunov2019-01-161-1/+1
|
* Recognize \\ escape sequence in pre-formatted fragmentsBoris Kolpackov2018-09-031-13/+32
| | | | | | | | Without this there were no way to correctly represent this sequence: \ \\\" \
* Update copyright yearKaren Arutyunov2018-05-211-1/+1
|
* Fix implicit fallthrough warningsBoris Kolpackov2018-01-111-2/+1
|
* Update copyright yearBoris Kolpackov2017-01-031-1/+1
|
* Add support for build2 for tests and examplesKaren Arutyunov2016-11-221-1/+1
|
* Start switch to build2Boris Kolpackov2016-11-151-17/+36
|
* Add support for escaping pre-formatted fragment markerBoris Kolpackov2016-09-021-3/+10
| | | | | | | | | | | | For example: \ \\ \ Of course now we cannot specify the literal escape sequence. Perhaps we should recognize a line consisting of N (N > 1) back slashes and output all but the first.
* Implement support for sourcing .cli filesBoris Kolpackov2016-01-261-2/+134
| | | | | | | | | | The idea is that the file is "read in" as if its content was copy-n-pasted. For example: "\h|Installation|" source "INSTALL.cli" // Also used to generate plain text INSTALL. Unlike include, source can appear anywhere in the file.
* Handle newline-only lines in documentation string parserBoris Kolpackov2016-01-161-23/+26
|
* Don't require ';' after option documentation blockBoris Kolpackov2015-11-261-9/+21
|
* Implement support for documentation inside classesBoris Kolpackov2015-11-241-9/+16
|
* Add support for man formattingBoris Kolpackov2015-11-131-5/+14
|
* Implement support pre-formatted fragmentsBoris Kolpackov2015-11-091-13/+85
| | | | | | | | | | | | For example: / x y z / Other text.
* Parse and enter documentation variablesBoris Kolpackov2015-10-311-26/+90
|
* Add parsing support for scope-level documentationBoris Kolpackov2015-10-291-92/+187
|
* Fix bug in trailing space handling in documentation stringsBoris Kolpackov2012-05-111-4/+4
|
* Move lookup to semantic graph from parserBoris Kolpackov2012-05-111-106/+1
|
* Add support for -I optionBoris Kolpackov2012-05-111-32/+71
| | | | | | Now quote-included ("") option files are searched for relative to the including file while bracket-included (<>) ones are search in the directories specified with -I.
* Fix lookup bugBoris Kolpackov2012-05-111-1/+1
|
* Implement option class inheritanceBoris Kolpackov2012-05-101-9/+175
| | | | | | | For now multiple, non-virtual inheritance is supported. An option class can now also be declared abstract using the class c = 0 {...}; syntax. New option, --exclude-base, controls whether base class information is present in usage and documentation.
* Add support for options file inclusionBoris Kolpackov2012-05-101-29/+132
| | | | | | | | | | | | | | New include-path prefixes, c++: and cli:, are now recognized (e.g., include <cli:foo>;). Without a prefix, the include declarations is considered to be c++-include unless the path ends with the .cli extension. The cli-included files are loaded and parsed. Currently, only inclusion relative to the current file is supported. Duplicate inclusions are detected and ignored based on the absolute filesystem path. If a file cli-includes another file, then the runtime code is assumed to come from the included file and is not generated.
* Copyright updateBoris Kolpackov2011-01-041-1/+1
|
* Update copyrightBoris Kolpackov2010-01-011-1/+1
|
* Implement usage generationBoris Kolpackov2009-11-081-6/+82
| | | | Also migrate the CLI compiler usage handling to the auto-generated version.
* Implement option documentation support in frontendBoris Kolpackov2009-11-081-0/+45
|
* Add support for option name aliases and string literalsBoris Kolpackov2009-10-041-1/+14
|
* Use new path class, add context and generator classesBoris Kolpackov2009-09-131-24/+24
| | | | | | Use cutl::fs::path instead of std::string in the semantic graph. Add context and generator stubs, to be filled next. Connect everything in the compiler driver.
* Add semantic graph and traversal mechanismBoris Kolpackov2009-09-051-8/+225
| | | | The parser now builds the semantic graph.
* Convert to the lower case naming conventionBoris Kolpackov2009-08-221-139/+139
|
* Add support for long long intBoris Kolpackov2009-08-221-2/+118
|
* Allow string literals for option namesBoris Kolpackov2009-08-221-4/+12
|
* Implement the CLI language parserBoris Kolpackov2009-08-221-0/+613