Re: Is Objective-C now a strict superset of C99?
Re: Is Objective-C now a strict superset of C99?
- Subject: Re: Is Objective-C now a strict superset of C99?
- From: Charlton Wilbur <email@hidden>
- Date: Fri, 26 Aug 2005 14:51:59 -0400
On Aug 26, 2005, at 2:29 PM, Karan, Cem (Civ, ARL/CISD) wrote:
Unfortunately, that doesn't really answer the question. You see, I
want to write a lex/yacc file to parse in modern Objective-C code;
that means that I REALLY need to learn what the modern grammar for
Objective C is.
There is no single modern grammar. Objective-C is a few constructs
and types added on top of a C dialect which can range from K&R C to
C89 to C99 to GNU C.
Pick a dialect of C, and then add the Objective-C constructs to it.
Perhaps if you advised us as to what your real goal was -- practicing
parsing by writing a compiler, for instance, or creating some kind of
source code analysis tool -- we could offer you better advice.
Charlton
--
Charlton Wilbur
email@hidden
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden