Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers > Re: Info on Lex...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 2370 of 2534
Post > Topic >>

Re: Info on Lex/yacc Objective-c grammar

by Timothy Knox <tdk@[EMAIL PROTECTED] > Mar 28, 2008 at 03:41 PM

Mon, Mar 24, 2008 at 04:51:56PM +0100, Alessandro Perrone wrote:
> I am thinking, as a way to learn the use of lex/yacc,  to write a simple
> profiler for objective-c programs, and I need the lex/yacc grammar for
> objective-c language. I searched with googgle, but I found only the
> grammar for old objective-C for Mac.
> Has anyone the grammar for "standard" objective-c language, where
> standard means "all platforms"?
> Surely the fsf used it to build the objc part of gcc.
> Regards.

GIYF!* I did a search for Objective-C grammar, and the top several hits
all
looked quite promising.

Besides, I think you are labouring under a misapprehension about the
history of Objective-C. If I recall correctly, Objective-C was
originally popularised by NextSTEP (though they did *not* originate
it), and NeXT/Apple have been the driving forces in the evolution (or
even the continued existence) of Objective-C. There isn't a "standard"
Objective-C, as such. In fact, since Objective-C 2.0 is driven by
Apple, I would say that their grammar is as definitive as anyone's.

What do you mean by "all platforms"? The language itself is ****table
to "all platforms". I have an Objective-C compiler on my FreeBSD
boxes, my Linux boxes, and (back when I had one) my Solaris boxes. The
libraries Apple ****ps are for Mac OS X, but the compiler is still the
same FSF GCC based compiler.


*Google Is Your Friend!

--
Timothy Knox <mailto:tdk@[EMAIL PROTECTED]
>
 




 3 Posts in Topic:
Info on Lex/yacc Objective-c grammar
Alessandro Perrone <ma  2008-03-24 16:51:56 
Re: Info on Lex/yacc Objective-c grammar
Timothy Knox <tdk@[EMA  2008-03-28 15:41:11 
Re: Info on Lex/yacc Objective-c grammar
magicalex@[EMAIL PROTECTE  2008-04-08 08:41:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Oct 15 22:18:56 CDT 2008.