summaryrefslogtreecommitdiff
path: root/cli/parser.cxx
AgeCommit message (Collapse)AuthorFilesLines
2018-01-11Fix implicit fallthrough warningsBoris Kolpackov1-2/+1
2017-01-03Update copyright yearBoris Kolpackov1-1/+1
2016-11-22Add support for build2 for tests and examplesKaren Arutyunov1-1/+1
2016-11-15Start switch to build2Boris Kolpackov1-17/+36
2016-09-02Add support for escaping pre-formatted fragment markerBoris Kolpackov1-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.
2016-01-26Implement support for sourcing .cli filesBoris Kolpackov1-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.
2016-01-16Handle newline-only lines in documentation string parserBoris Kolpackov1-23/+26
2015-11-26Don't require ';' after option documentation blockBoris Kolpackov1-9/+21
2015-11-24Implement support for documentation inside classesBoris Kolpackov1-9/+16
2015-11-13Add support for man formattingBoris Kolpackov1-5/+14
2015-11-09Implement support pre-formatted fragmentsBoris Kolpackov1-13/+85
For example: / x y z / Other text.
2015-10-31Parse and enter documentation variablesBoris Kolpackov1-26/+90
2015-10-29Add parsing support for scope-level documentationBoris Kolpackov1-92/+187
2012-05-11Fix bug in trailing space handling in documentation stringsBoris Kolpackov1-4/+4
2012-05-11Move lookup to semantic graph from parserBoris Kolpackov1-106/+1
2012-05-11Add support for -I optionBoris Kolpackov1-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.
2012-05-11Fix lookup bugBoris Kolpackov1-1/+1
2012-05-10Implement option class inheritanceBoris Kolpackov1-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.
2012-05-10Add support for options file inclusionBoris Kolpackov1-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.
2011-01-04Copyright updateBoris Kolpackov1-1/+1
2010-01-01Update copyrightBoris Kolpackov1-1/+1
2009-11-08Implement usage generationBoris Kolpackov1-6/+82
Also migrate the CLI compiler usage handling to the auto-generated version.
2009-11-08Implement option documentation support in frontendBoris Kolpackov1-0/+45
2009-10-04Add support for option name aliases and string literalsBoris Kolpackov1-1/+14
2009-09-13Use new path class, add context and generator classesBoris Kolpackov1-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.
2009-09-05Add semantic graph and traversal mechanismBoris Kolpackov1-8/+225
The parser now builds the semantic graph.
2009-08-22Convert to the lower case naming conventionBoris Kolpackov1-139/+139
2009-08-22Add support for long long intBoris Kolpackov1-2/+118
2009-08-22Allow string literals for option namesBoris Kolpackov1-4/+12
2009-08-22Implement the CLI language parserBoris Kolpackov1-0/+613