[net.lang.c] Need yacc grammar for ANSI C

winkler@apple.UUCP (Dan Winkler) (10/02/86)

If you've got one, please send it to me.  Thanks.

drw@cullvax.UUCP (Dale Worley) (10/03/86)

> If you've got one, please send it to me.  Thanks.

See Appendix C of Harbison & Steele (C: A Reference Manual), which
gives a LALR(1) grammar for C.

Dale

ballou@brahms.BERKELEY.EDU (Kenneth R. Ballou) (10/05/86)

In article <358@cullvax.UUCP> drw@cullvax.UUCP (Dale Worley) writes:
>> If you've got one, please send it to me.  Thanks.
>
>See Appendix C of Harbison & Steele (C: A Reference Manual), which
>gives a LALR(1) grammar for C.
>
>Dale

Unfortunately, Harbison & Steele is *not* the ANSI specification.

Ludwig@smoke.UUCP (10/09/86)

We are looking also for a
         >>>> yacc grammar for ANSI C <<<<<
Thanks for any advise.

jason@hpcnoe.UUCP (Jason Zions) (10/14/86)

> Ludwig@smoke.UUCP /  6:57 am  Oct  9, 1986 /
> We are looking also for a
>          >>>> yacc grammar for ANSI C <<<<<
> Thanks for any advise.

Same advice as has been given here many times.

		There is no such thing as ANSI C.

There is a proposed standard, but it is not yet a standard. You might be
interested in purchasing the proposed standard; the address to which you
should write is posted frequently in this newsgroup. It does not contain
a YACC-able grammer.
--
This is not an official statement of Hewlett-Packard Corp., and does not 
necessarily reflect the views of HP. It is provided completely without warranty
of any kind. Lawyers take 3d10 damage and roll a saving throw vs. ego attack.

Jason Zions				Hewlett-Packard
Colorado Networks Division		3404 E. Harmony Road
Mail Stop 102				Ft. Collins, CO  80525
	{ihnp4,seismo,hplabs,gatech}!hpfcdc!hpcnoe!jason