Taking a step back: what you&#x27;re trying to accomplish is code generation -- a program that generates code.  From that perspective, why would you choose to write that program using the C preprocessor, when there are so many other nice languages around?