Parser/Indexer

2 views
Skip to first unread message

AlBlue

unread,
Feb 23, 2009, 3:55:16 AM2/23/09
to ObjectivEClipse Development Group
We're going to need to create an Objective C parser - trouble is,
there doesn't seem to be much at the moment. There was an attempt with
Antlr 3 but it seems incomplete - maybe we'll have to roll our own.

An indexer is probably easier to write, since it doesn't need to do a
full parse, and we can probably make some assumptions to get going
(like looking for lines like @class, @interface and +(void)foo and-
(void)foo and so on. Anyone fancy a stab at writing an indexer capable
of generating a link tree (for includes) and links to definition/
interface of objective c classes/functions?

I'm going to see what I can do with Antlr 3 to generate a parser.

Alex
Reply all
Reply to author
Forward
0 new messages