genesis is a generator library developed by Seadex (written in C++11). It was created as the backend of the yasmine state machine generator, but can be used for any kind of text file generation.
The library uses a combination of template files and a C++ callback interface (which is queried by the generator while processing the templates) to generate the output.
When you use the library you create one or more template files and implement the callback interface. That's it.
Our plans for the future include the possibility to provide a Python script as the callback interface instead of having to code it in C++.