[mod.compilers] C grammar

johnl@ima.UUCP (12/11/86)

Does anyone out there have a PD, YACC-able, grammar for C?  ANSI C would be
best, Harbison&Steele C next best, then BSD C, and K&R C being acceptable.

Thanks, DL

Darrell Long
Department of Electrical Engineering and Computer Science, C-014
University of California, San Diego
La Jolla, California  92093

ARPA: Darrell@Beowulf.UCSD.EDU		(For those with domain servers)
ARPA: Darrell%Beowulf@SDCSVAX.UCSD.EDU	(For those without)
UUCP: sdcsvax!beowulf!darrell
-- 
Send compilers mail to ima!compilers or, in a pinch to Levine@YALE.EDU
Plausible paths are { ihnp4 | decvax | cbosgd | harvard | yale | bbncca}!ima
Please send responses to the originator of the message -- I cannot forward
mail accidentally sent back to compilers.  Meta-mail to ima!compilers-request

johnl@ima.UUCP (12/17/86)

Cc:

In article <293@ima.UUCP> you write:
>Does anyone out there have a PD, YACC-able, grammar for C? ...

Such a grammar, based on the ANSI draft of about 2 years ago, was posted to
mod.sources; check the monthly mod.sources listing of the archives, including
how to get it via anonymous UUCP from an ATT site.

I expect that the actual grammar has changed very little since that one was
done; making that grammar conform to the current ANSI C draft should be no
more than a few hours work, if that much.
-- 
Arnold Robbins
CSNET:	arnold@emory	BITNET:	arnold@emoryu1
ARPA:	arnold%emory.csnet@csnet-relay.arpa
UUCP:	{ akgua, decvax, gatech, sb1, sb6, sunatl }!emory!arnold
-- 
Send compilers mail to ima!compilers or, in a pinch to Levine@YALE.EDU
Plausible paths are { ihnp4 | decvax | cbosgd | harvard | yale | bbncca}!ima
Please send responses to the originator of the message -- I cannot forward
mail accidentally sent back to compilers.  Meta-mail to ima!compilers-request