[antlr-interest] C Grammar Status
mzukowski at yci.com
mzukowski at yci.com
Mon Nov 24 14:42:17 PST 2003
You can find more info at http://www.codetransform.com/gcc.html
Intel used it to translate GCC extensions to ANSI C to test their 64 bit
compiler on the linux kernel four years ago. The AspectC aspect oriented
compiler was at least prototyped on this grammar too. I have never heard of
a release of the AspectC compiler, though.
http://www.cs.ubc.ca/labs/spl/projects/aspectc.html
I wrote a transformer for Cisco, who the grammar was originally developed
for, to help them profile code by inserting stubs for function entrances and
exits.
Somebody even tried to build a C->Java translator out of it.
I'm not aware of any open source programs based on the grammar, if you find
any let me know. Hey look what Google found:
http://sarpresults.ivv.nasa.gov/sarpdir/ViewResearch/public/305/244
This doc shows they use my GNUCParser:
http://sarpresults.ivv.nasa.gov/sarp/files/305/Handbook_Tutorial_Porting_Pro
cedure_&_User_Manual_Draft.doc
Cheers,
Monty
-----Original Message-----
From: Zukowski, Monty
Sent: Monday, November 17, 2003 1:23 PM
To: 'antlr-interest at yahoogroups.com'
Subject: RE: [antlr-interest] C Grammar Status
I haven't touched it in a while but it's complete to version 2.95 of GCC and
ANSI C89. I actually wrote a bid for upgrading this grammar to GCC 3.2 and
C99 and have notes on specific features and what it would take to implement
them.
I'm also open to any patches/improvements, and of course I'm available for
consulting on it.
Monty
www.codetransform.com
-----Original Message-----
From: Tom Zagotta [mailto:tzagotta1 at sienasystems.com]
Sent: Saturday, November 15, 2003 2:55 PM
To: antlr-interest at yahoogroups.com
Subject: [antlr-interest] C Grammar Status
Dear Group,
Can anyone let me know the status of the GNU C grammar on antlr.org?
I know the C++ grammar on antlr.org is pretty out of date. I see dates like
1997 on the C grammar, but is it reasonably correct relative to Standard C,
and usable with the current release of ANTLR?
Does anybody have any experience to offer with this grammar?
Thanks in advance,
- Tom
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list