[comp.unix.questions] C BNF Grammer

scoter@ntmtv.UUCP (Patrick Thompson) (11/08/89)

Does anyone out there have a BNF grammer for C.  
I made this plea a couple of months ago before our news
went down; so I didn't see any response if there was
any...

Thanks,
Pat

=====================================================================
Patrick Thompson                  {amdahl,hplabs,ames}!ntmtv!scoter
Los Gatos, California             -or- ntmtv!scoter@ames.arc.nasa.gov
415-940-2597

vik@mentor.cc.purdue.edu (Vik Lall) (11/09/89)

In article <266@ntmtv.UUCP>, scoter@ntmtv.UUCP (Patrick Thompson) writes:

> Does anyone out there have a BNF grammer for C.  

I think I might have responded to this, anyway, even if I didn't,
here is something that might help.

j.cc.purdue.edu:~ftp/comp.sources.unix/volume1/ANSI.C.Z
-or-
uunet.uu.net:~ftp/net.sources/ansi.c.grammar.Z

Or, if you are on a BSD system, the online copy of PS1 will have
"The C Programming Language - Reference Manual", written by dmr..

You can even look at the back of K&R.

Hope this helps.

-vik

---
Vik Lall				vik@mentor.cc.purdue.edu
Purdue University Computing Center	lall@purccvm