I should maybe add that if you're going to do this, you should think
about having a single generator program.
There's nothing worse for maintainability than having scripts
generating files generating files generating code, and no one can tell
what generates what.
In libguestfs there's never a question of what generates what. Or
rather, there is this question, but the answer is always the same: the
one generator program generates everything.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org