GNU Gengen - Summary
This software is part of the GNU Project.
Gengen (GENerator GENerator) is a tool that, starting from a parameterized text, called template, generates a text generator that can substitute parameters with values.
If you've written any non-trivial code generator, you probably had to write many cout or printf lines of code, mixing fixed text to be generated and parts based on the value of some variables. If the text to be generated is full of parts that have to be substituted at run-time, your code will end up containing many instructions that print constant strings and variables; this will tend to make the text to be generated unclear and thus also more difficult to maintain. Gengen can save you from this work, leaving you free to focus on the text that has to be generated.
Indeed the code to be generated will be written in a separated file (that we call template file) that can contain variable parts
(that we call parameters or variables); Gengen will
generate the generator for you and this generator will also accept the values that will be substituted in the output.
Registration Date: Mon 13 Nov 2006 02:11:30 PM UTC
License: GNU General Public License v2 or later
Development Status: 5 - Production/Stable
- Browse open items
Submit a new item
Powered by Savane 3.13-8ccc.
Corresponding source code