Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Info on Lex/yacc Objective-c grammar
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.
ALEX


Report this thread to moderator Post Follow-up to this message
Old Post
Alessandro Perrone
03-27-08 04:01 AM


Re: Info on Lex/yacc Objective-c grammar
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 portable
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 ships are for Mac OS X, but the compiler is still the
same FSF GCC based compiler.


*Google Is Your Friend!

--
Timothy Knox <mailto:tdk@thelbane.com>

Report this thread to moderator Post Follow-up to this message
Old Post
Timothy Knox
03-30-08 12:29 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Compilers archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 10:44 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.