summaryrefslogtreecommitdiffstats
path: root/cli/generator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright yearKaren Arutyunov2019-01-161-1/+1
|
* Update copyright yearKaren Arutyunov2018-05-211-1/+1
|
* Implement group_scannerBoris Kolpackov2018-03-211-1/+4
|
* Update copyright yearBoris Kolpackov2017-01-031-1/+1
|
* Start switch to build2Boris Kolpackov2016-11-151-12/+12
|
* Support suppressing CLI runtime generation (--suppress-cli)Boris Kolpackov2016-06-201-7/+15
| | | | This is useful in pure-help pages.
* Add support for ids in paragraphs, local fragment references in linksBoris Kolpackov2016-02-111-0/+6
| | | | | | | | | | For example: " \h#hello|Hello Example| See the \l{#hello Hello Example} "
* First part of TOC generation support (no links yet)Boris Kolpackov2016-02-111-31/+70
| | | | Currently only supported in the HTML output.
* Add support for file expansion in prologue/epilogue filesBoris Kolpackov2016-01-281-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.
* Initial support for plain text documentation (--generate-txt)Boris Kolpackov2016-01-181-3/+44
| | | | Support for option documentation generation is still a TODO.
* Add support for --output-{prefix,suffix} optionsBoris Kolpackov2016-01-111-6/+10
|
* Implement entire page usage generationBoris Kolpackov2015-11-191-63/+2
|
* Add support for links in documentation: \l{<target>[ <text>]}Boris Kolpackov2015-11-181-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.
* Add support for man formattingBoris Kolpackov2015-11-131-17/+0
|
* Add support for expanding documentation variablesBoris Kolpackov2015-10-311-15/+83
|
* Add C++ modeline (-*- C++ -*-) to generated filesBoris Kolpackov2015-04-021-1/+3
|
* Add ability to specify prologues/epilogues for generated C++ filesBoris Kolpackov2012-06-201-57/+104
| | | | | Also add options to specify text prologues/epilogues in addition to files for generated man and html files.
* Rename --*logue options to --*logue-fileBoris Kolpackov2012-06-201-4/+4
|
* Generate certain template runtime code in every source fileBoris Kolpackov2012-06-031-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.
* Add support for options file inclusionBoris Kolpackov2012-05-101-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.
* Copyright updateBoris Kolpackov2011-01-041-1/+1
|
* Cosmetic changeBoris Kolpackov2010-03-301-1/+0
|
* Update copyrightBoris Kolpackov2010-01-011-1/+1
|
* Workaround for VC++ 8.0Boris Kolpackov2009-12-131-2/+6
|
* Mark 'stdout' as a reserved nameBoris Kolpackov2009-12-131-5/+5
| | | | On some platforms (e.g., Windows/VC++ 8.0) stdout is a macro.
* Complete the implementation of the option documentationBoris Kolpackov2009-11-171-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.
* Implement HTML pages generationBoris Kolpackov2009-11-081-101/+158
|
* Implement usage generationBoris Kolpackov2009-11-081-58/+6
| | | | Also migrate the CLI compiler usage handling to the auto-generated version.
* Add usage informationBoris Kolpackov2009-10-111-0/+58
|
* Move runtime inline function to inline fileBoris Kolpackov2009-10-041-4/+9
|
* Add options for various include settingsBoris Kolpackov2009-10-041-7/+18
| | | | | | --include-with-brackets --include-prefix --guard-prefix
* Add --{hxx,ixx,cxx}-suffix optionsBoris Kolpackov2009-10-041-7/+3
|
* Add --suppress-inline optionBoris Kolpackov2009-10-041-5/+5
|
* Add option file for the CLI compiler itselfBoris Kolpackov2009-09-271-5/+3
|
* Generate parsing constructors and parsing codeBoris Kolpackov2009-09-271-0/+6
| | | | | Also generate some runtime support code such exceptions, value parsers, etc.
* Add name processorBoris Kolpackov2009-09-201-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.
* Add definition unit to contextBoris Kolpackov2009-09-201-3/+14
|
* Open output files and generate boilerplate codeBoris Kolpackov2009-09-191-1/+193
|
* Use new path class, add context and generator classesBoris Kolpackov2009-09-131-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.