I am writing a desktop application for Mac OS X in which I want to parse Objective-C snippets, such as variable and method declarations, as well as the full title and source files of Objective-C.
It seems to me that I should use Clang for this, but I could do with some pointers and examples how to integrate it as a library in my project and how to call it to parse strings and files.
Can anybody help me?
Dougc source share