Path: utzoo!attcan!uunet!cs.utexas.edu!samsung!umich!sharkey!amara!mcdaniel From: mcdaniel@adi.com (Tim McDaniel) Newsgroups: comp.lang.c Subject: Re: C grammar needed Message-ID: Date: 17 Sep 90 18:50:55 GMT References: <36@lemans.dec.com> <26ef2661-4f9.1comp.lang.c-1@vpnet.chi.il.us> Sender: news@adi.COM Organization: Applied Dynamics International, Inc.; Ann Arbor, Michigan, USA Lines: 28 In-reply-to: akcs.dgy@vpnet.chi.il.us's message of 13 Sep 90 09:55:03 GMT In article <26ef2661-4f9.1comp.lang.c-1@vpnet.chi.il.us> akcs.dgy@vpnet.chi.il.us (Donald Yuniskis) writes: >Real standard question here ... could someone please e-mail me either a C >grammar or a pointer to a reference where I could find one? While we're at presume you're looking for the ANSI version... try "ANSI.C.Z" in volume 1 of the comp.sources.unix... Jim Roskind, "Independent Consultant 516 Latania Palm Drive Indialantic FL 32903 (407)729-4348 jar@ileaf.com or ...!uunet!leafusa!jar" posted a YACCable C++ grammar to comp.lang.c++ recently. He also posted the derived C grammar (derived largely by eliminating productions that make no sense in C). It seems to be good work, it's recent, and it's public domain. He also has papers explaining the philosophy of his grammars and discussing the difficulties of parsing. I have no financial interest related to him. I have not used the grammars myself, but I've seen no complaints about them. -- Tim McDaniel Applied Dynamics Int'l.; Ann Arbor, Michigan, USA Work phone: +313 973 1300 Home phone: +313 677 4386 Internet: mcdaniel@adi.com UUCP: {uunet,sharkey}!amara!mcdaniel