Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Objective-C preprocessor available?

Does anyone know if the source code for Objective-C is still available from when it was just a pre-processor? Would be curious to see how it was implemented back then.

Thanks.

like image 910
jasonbogd Avatar asked Jul 28 '10 20:07

jasonbogd


1 Answers

The Clang LLVM rewriter (rewriter is documented below there) can rewrite Objective-C into C (and is being used by some to compile Objective-C for the Xbox and Windows).

Some discussion here:

http://permalink.gmane.org/gmane.comp.compilers.llvm.devel/32019

like image 200
bbum Avatar answered Sep 30 '22 09:09

bbum