TYPEMAKER2(1)

πŸ’… TYPEMAKER2(1) β€” like, the typemaker2 manual, bestie ✨

okay so real quick, the manual name is typemaker2 and it lives in section 1 of the manual pages, and honestly? she's an icon. let's get into it πŸŽ€


🌸 NAME 🌸

typemaker2 β€” she creates source and header files for the XML file you hand her. that's the whole job. slay.


✨ SYNOPSIS ✨

typemaker2 [global options] <command> [local options]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this tool generates source and header files for simple data containers, and she gets all of that from XML files. from those XML files she whips up fromDb and toDb functions for structs, plus getters and setters for every single member. no cap.

the whole point? it makes maintaining data containers with a ton of members way easier (think AB_TRANSACTION energy). like, you add a member to the XML file and boom β€” it's immediately loaded, saved, destroyed and copied along with the rest of the struct whenever it's asked to. for example, _fromDb() will load all the members from a GWEN_DB. πŸ’–

the current version creates a C file and headers for it.

she also creates appropriate API documentation if you provide her with the source XML file. thoughtful queen. πŸ‘‘


πŸ’œ GLOBAL OPTIONS πŸ’œ

  • -D PARAM, --api=PARAM β€” API declaration prefix (like GWENHYWFAR_API)
  • --public=PARAM β€” name of the public header file to create
  • --library=PARAM β€” name of the library header file to create
  • --protected=PARAM β€” name of the protected header file to create
  • --private=PARAM β€” name of the private header file to create
  • --code=PARAM β€” name of the code file to create
  • --destfolder=PARAM β€” destination folder
  • --lang=PARAM β€” language for which to create the headers and code
  • -I PARAM, --include=PARAM β€” add folder to include for type lookup
  • -d, --defs-only β€” only write def files (*.tm2)
  • --no-defs β€” don't write def files (*.tm2)
  • -h, --help β€” show this help screen

πŸ‘‘ COMMANDS πŸ‘‘

  • build β€” this command creates source and header files for the given file

πŸ’€ BUGS πŸ’€

no bugs known at the time of writing this manual page. we stay winning, fr fr. 🫢


🌈 COPYING 🌈

Copyright (C) Martin Preuß. Free use of this software is granted under the terms of the GNU Lesser General Public License (LGPL).

the manpage was composed by Micha Lenk and converted by the nifty tool Asciidoctor into a manpage. iconic.


⭐ AUTHOR ⭐

Micha Lenk


okay bestie that's the whole page, tysm for reading πŸ₯° this was TYPEMAKER2(1) and the date on it is 2026-07-24 β€” mwah, love u, go generate some headers πŸ’…πŸ’–βœ¨

πŸ“¦ where this page comes from