[cfe-dev] Rewrite Objective-C to C

Nico Weber nicolasweber at gmx.de
Mon Nov 10 07:21:15 PST 2008


Hi Dado,

On 10.11.2008, at 06:41, Dado Colussi wrote:

> I am interested in trying to use clang to convert Objective-C code to
> C, and compiling the generated C code with 3rd party compiler. I have
> managed to convert and compile a very simple hello application on my
> Mac using Apple's runtime after having tweaked the generated code. I
> have failed with anything more complex than the hello in one file.
>
> I wonder:
> * How realistic and feasible my approach is?
> * How mature the rewrite code in clang is?
> * Is there enough community interest to actually make the rewrite code
> complete?

did you use `clang -rewrite-objc` to do the rewriting? Can you give an  
example of a problem you encountered?

Nico



More information about the cfe-dev mailing list