in reply to Templating system for generating C code?
Have you looked at Template Toolkit? It's language-neutral, and I'm sure you could adapt it to generate the boilerplate C code, if that's what you're trying to do.
NOTE: By language-neutral, I mean it's not just for generating HTML, or XML, or LaTeX, or whatnot. You can use it to generate whatever type of code you like.
Those who know that they are profound strive for clarity. Those who would like to seem profound to the crowd strive for obscurity. --Friedrich Nietzsche