0

I want to write a tool that does code-completion for objective-c class-names, selector-names and property names, as the software is being developed. (ie something that can run periodically and build a tree of class names, and their properties/selectors).

Is there an API I can use for this?. . . I'm looking at clang static analyzer, but from running quickly over the docs, it seems that I need something more low level.

Jasper Blues
  • 28,258
  • 22
  • 102
  • 185

2 Answers2

0

Not too many answers for this, but based on comments by @CodaFi:

Then the CLANG AST is the way to go. Really, nothing you could write single-handedly could ever match the quality and breadth of the CLANG team's efforts, so may as well use it.

Jasper Blues
  • 28,258
  • 22
  • 102
  • 185
-1

That is a truly huge undertaking. Does Eclipse do something like what you want? Adding that for Objective C is perhaps an attainable goal...

vonbrand
  • 11,412
  • 8
  • 32
  • 52
  • Thanks, but no.Eclipse is not what I'm looking for. The two options seem to be using clangs AST, or feeding in an objective-c grammar to a compilier-compiler like YACC. – Jasper Blues Jan 20 '13 at 01:52