[cfe-dev] Using clang to translate a program in c++ to C or other languages
jahanian
fjahanian at apple.com
Fri Jan 18 11:16:57 PST 2013
On Jan 18, 2013, at 3:06 AM, Miguel Aguilar <miguel.aguilar at ice.rwth-aachen.de> wrote:
> Hi,
>
> The one I saw is Objective-C to C but I have not seen any example related to C++.
It is objective-C to C++ translator. But it only translates objective-C specific ASTs and bypasses
the C ASTs.
- Fariborz
>
> Miguel
>
> On 01/18/2013 11:51 AM, Jacob Carlborg wrote:
>> 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?
>>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
More information about the cfe-dev
mailing list