[antlr-interest] Anybody got an ObjectiveC grammar?

Terence Parr parrt at jguru.com
Tue Apr 30 11:17:33 PDT 2002


Heh I found it!

http://www.antlr.org/1.33/contrib/ObjC.g

At the website all the time folks :)  I new I got it from NeXT at one 
point...they forced me to strip actions, but here is the grammar :)

Ter

On Tuesday, April 30, 2002, at 11:00  AM, David Ewing wrote:

> on 4/30/02 11:33 AM, Terence Parr at parrt at jguru.com wrote:
>
>>
>> On Tuesday, April 30, 2002, at 10:30  AM, Todd Blanchard wrote:
>>
>>> Got some stuff to do on Cocoa...
>>
>> I'll bet the guys at apple have one laying around for PCCTS; I helped
>> 'em build it at NeXT back in the glory days.  I wonder if they'd give 
>> it
>> up.  I'll send you out an email...
>
> There was a yacc grammar posted to the macosx-dev email list at
> omnigroup.com a little over a year ago. It looked like it included
> everything OK, but I didn't look at it too closely. You could look at 
> their
> archives.
>
> And yes, we do have the ObjC grammar for PCCTS here. I can ask about 
> giving
> it out, but no promises.
>
> Also, gcc includes support for ObjC. Looking at its grammar files might
> prove useful too. It's probably the best source for the "real" language
> since it's the compiler we use.
>
> Dave
>
>
>
>
> Your use of Yahoo! Groups is subject to 
> http://docs.yahoo.com/info/terms/
>
>
--
Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list