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

Jacob Carlborg doob at me.com
Fri Jan 18 02:51:49 PST 2013


On 2013-01-17 14:58, Miguel Aguilar wrote:
> 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?.

Isn't this already available in Clang? Or was that Objective-C to C?

-- 
/Jacob Carlborg




More information about the cfe-dev mailing list