Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can i find a document explaining how Objective-C is implemented

Tags:

objective-c

I mean the fundamental runtime. How is method dispatching implemented (via a selector hashtable?). What is a selector anyway? How is the object model as you can add methods later with some low level API etc.

I need to look at it from a compiler programming point of view, not a simple user of the language.

like image 781
Lothar Avatar asked Jan 24 '23 06:01

Lothar


1 Answers

Use the source.

http://www.opensource.apple.com/source/objc4/objc4-437/

And for parsing, look to Clang:

http://clang.llvm.org/get_started.html

like image 94
bbum Avatar answered Mar 02 '23 00:03

bbum