• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is Objective-C now a strict superset of C99?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >RE: Is Objective-C now a strict superset of C99? (From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>)

  • Prev by Date: Re: Is Objective-C now a strict superset of C99?
  • Next by Date: XCode 2.1 and building for 10.2.8
  • Previous by thread: Re: Is Objective-C now a strict superset of C99?
  • Next by thread: RE: Is Objective-C now a strict superset of C99?
  • Index(es):
    • Date
    • Thread