summaryrefslogtreecommitdiff
path: root/cli/parser.cxx
AgeCommit message (Collapse)AuthorFilesLines
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