Generating C++ code
Tim Roberts
timr at probo.com
Wed Oct 10 23:12:36 EDT 2012
Jean-Michel Pichavant <jeanmichel at sequans.com> wrote:
>
>I'm trying to generate C++ code from an XML file. I'd like to use a template engine, which imo produce something readable and maintainable.
>My google search about this subject has been quite unsuccessful, I've been redirected to template engine specific to html mostly.
>
>Does anybody knows a python template engine for generating C++ code ?
I'm a big fan of Cheetah. It's simple but flexible enough to be useful.
Besides the many web projects I've done with it, I also I use it in one
project to generate PHP code (it generates data access objects from a live
database schema).
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list
mailing list