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
chittamu@umvlsi.ecs.umass.edu (Satish Kumar .C) (11/10/89)
In article <5022@mentor.cc.purdue.edu> vik@mentor.cc.purdue.edu (Vik Lall) writes: >> Does anyone out there have a BNF grammer for C. The one in the comp.sources.unix sources is not exactly upto date. It is the 1984 version of the ANSI grammar. I think it is missing some stuff. I have the K&R version of the the grammar(second edition) along with 52 error production thrown in on file. I seem to have missed the initial post. If the original poster would drop me a message with his/her/their/it's net address, I would be happy to mail a copy to him/her/them/it -- -Satish. chittamu@cs.umass.edu -- The Theory of Objectivity: E = mc++