[cfe-users] Using clang to translate a program in c++ to C or other languages

Miguel Aguilar miguel.aguilar at ice.rwth-aachen.de
Thu Jan 17 05:49:53 PST 2013


Hi,

I would like to know the possible approaches to translate a program in 
C++ to another language such as C using Clang. Should I walk in the AST 
and emit the code or should I create a new AST in the other language for 
example?.

Thanks in advanced,

Miguel



More information about the cfe-users mailing list