GENGEN(1)
π GENGEN(1) β the gengen manual page, bestie edition β¨
okay so real quick before we dive in: this is the manual page for gengen, and it lives in section 1 of the manual (that's the "1" in GENGEN(1), iykyk). let's get into it π
πΈ NAME πΈ
gengen β manual page for gengen 1.4.3
β¨ SYNOPSIS β¨
gengen [OPTIONS]...
that's it. that's the whole summoning ritual. π
π¦ DESCRIPTION π¦
GNU gengen 1.4.3, hi hello welcome π
so here's the vibe: you hand this program a skeleton source file that has some parts in it marked to be replaced. gengen then generates a program β and that generated program generates that source, substituting those parts exactly as you specified. it's like a program that writes a program that writes your file. recursion but make it fashion. π§
π OPTIONS π
-h,--helpβ prints the help text and dips out (exits).-V,--versionβ prints the version and dips out (exits).-i,--input=fileβ the input file. default is standard input (stdin), no cap.-F,--file-name=nameβ the name used for generating the file. default is stdout, so it just spills out onto your terminal if you don't say otherwise π«Ά-f,--gen-name=STRINGβ prefix for the generated code. default isgengen.--output-format=langβ the target language:cpp,c,lua. default iscpp.--output-dir=STRINGβ output directory. default is the current dir.--separate-filesβ output to separate files (header, source). requires--file-name, so don't skip it bestie π--expand-tabsβ strings containing newlines get indented according to the current indentation level. cute and tidy π--no-gen-versionβ don't put thegengenversion in the generated file. for the people who like it clean β¨--test-modeβ even with errors, exit with0. > this is only for testing purposes, okay? like genuinely. don't ship that π--forceβ force regeneration of the output code. make it happen π₯
π REPORTING BUGS π
found a bug? spill it to Raman Gopalan <ramangopalan@gmail.com>. they wanna know, fr fr.
π COPYRIGHT π
Copyright Β© 2002-2015 Lorenzo Bettini <http://www.lorenzobettini.it>
this program comes with ABSOLUTELY NO WARRANTY β like, none, zero, nada. for details please see the file 'COPYING' supplied with the source code.
this is free software, and you are welcome to redistribute it under certain conditions; again, see 'COPYING' for details. this program is released under the GNU General Public License. slay, legally speaking βοΈπ
π SEE ALSO π
the full documentation for gengen is maintained as a Texinfo manual. so if the info and gengen programs are properly installed at your site, then this command:
info gengen
should give you access to the complete manual. go forth and read, bestie ππ¦
so yeah, that's gengen β version 1.4.3, from way back in June 2015, page GENGEN(1). mwah, take care of her ππ
π¦ where this page comes from
- arch rolling: gengen 1.4.3-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms