tags:

views:

72

answers:

3

Where can I find the source code for the Objective-C language? Is it open-source or is there an open-sourced implementation of it available?

A: 

There is no one source code. There would be as many different versions as there are compilers for the language. They would likely be written in a low-level language such as assembly or C, and be vastly complicated. For whichever compiler you are interested in, you will need to confirm that it is open-source, which I find unlikely. Even then, it may be difficult.

Alexander Rafferty
"There would be as many different versions as there are compilers for the language" so this would make it: one.
Lothar
@Lothar at lest 2: gcc and clang
cobbal
3: microsoft compiler?
Alexander Rafferty
Nothing from Microsoft, they don't even want to invest money into good old plain C (99) anymore.
Lothar
Well that's understandable, though the c++ compiler can also compile c.
Alexander Rafferty
+3  A: 

It really depends on what you mean by Objective-C, there are compilers, runtimes and libraries for it.

cobbal
A: 

I think you are asking for Cocoa - and this is not open source. All you have are the header and reverse engineering tools.

Lothar