summaryrefslogtreecommitdiff
path: root/cli/generator.cxx
AgeCommit message (Collapse)AuthorFilesLines
2017-01-03Update copyright yearBoris Kolpackov1-1/+1
2016-11-15Start switch to build2Boris Kolpackov1-12/+12
2016-06-20Support suppressing CLI runtime generation (--suppress-cli)Boris Kolpackov1-7/+15
This is useful in pure-help pages.
2016-02-11Add support for ids in paragraphs, local fragment references in linksBoris Kolpackov1-0/+6
For example: " \h#hello|Hello Example| See the \l{#hello Hello Example} "
2016-02-11First part of TOC generation support (no links yet)Boris Kolpackov1-31/+70
Currently only supported in the HTML output.
2016-01-28Add support for file expansion in prologue/epilogue filesBoris Kolpackov1-1/+3
This is similar to variable expansion ($name$) except here we detect if the name starts with ./ or ../ and treat it as a path relative to the prologue/ epilogue file.
2016-01-18Initial support for plain text documentation (--generate-txt)Boris Kolpackov1-3/+44
Support for option documentation generation is still a TODO.
2016-01-11Add support for --output-{prefix,suffix} optionsBoris Kolpackov1-6/+10
2015-11-19Implement entire page usage generationBoris Kolpackov1-63/+2
2015-11-18Add support for links in documentation: \l{<target>[ <text>]}Boris Kolpackov1-0/+2
If link target doesn't contain ':' (protocol separator), then it is assumed to be the man page reference in the form '<name>(<section>)'. If text is missing, then target is used as text.
2015-11-13Add support for man formattingBoris Kolpackov1-17/+0
2015-10-31Add support for expanding documentation variablesBoris Kolpackov1-15/+83
2015-04-02Add C++ modeline (-*- C++ -*-) to generated filesBoris Kolpackov1-1/+3
2012-06-20Add ability to specify prologues/epilogues for generated C++ filesBoris Kolpackov1-57/+104
Also add options to specify text prologues/epilogues in addition to files for generated man and html files.
2012-06-20Rename --*logue options to --*logue-fileBoris Kolpackov1-4/+4
2012-06-03Generate certain template runtime code in every source fileBoris Kolpackov1-7/+6
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.
2012-05-10Add support for options file inclusionBoris Kolpackov1-5/+26
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-03-30Cosmetic changeBoris Kolpackov1-1/+0
2010-01-01Update copyrightBoris Kolpackov1-1/+1
2009-12-13Workaround for VC++ 8.0Boris Kolpackov1-2/+6
2009-12-13Mark 'stdout' as a reserved nameBoris Kolpackov1-5/+5
On some platforms (e.g., Windows/VC++ 8.0) stdout is a macro.
2009-11-17Complete the implementation of the option documentationBoris Kolpackov1-8/+121
Add the man page generator. Port CLI usage, HTML documentation and the man page to the auto-generated version. Update examples and documentation.
2009-11-08Implement HTML pages generationBoris Kolpackov1-101/+158
2009-11-08Implement usage generationBoris Kolpackov1-58/+6
Also migrate the CLI compiler usage handling to the auto-generated version.
2009-10-11Add usage informationBoris Kolpackov1-0/+58
2009-10-04Move runtime inline function to inline fileBoris Kolpackov1-4/+9
2009-10-04Add options for various include settingsBoris Kolpackov1-7/+18
--include-with-brackets --include-prefix --guard-prefix
2009-10-04Add --{hxx,ixx,cxx}-suffix optionsBoris Kolpackov1-7/+3
2009-10-04Add --suppress-inline optionBoris Kolpackov1-5/+5
2009-09-27Add option file for the CLI compiler itselfBoris Kolpackov1-5/+3
2009-09-27Generate parsing constructors and parsing codeBoris Kolpackov1-0/+6
Also generate some runtime support code such exceptions, value parsers, etc.
2009-09-20Add name processorBoris Kolpackov1-0/+8
Name processor is a separate pass over the semantics graph that assigns names to various constructs while making sure there are no name clashes.
2009-09-20Add definition unit to contextBoris Kolpackov1-3/+14
2009-09-19Open output files and generate boilerplate codeBoris Kolpackov1-1/+193
2009-09-13Use new path class, add context and generator classesBoris Kolpackov1-0/+15
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.