Xref: utzoo comp.lang.c:11606 comp.lang.scheme.c:3 Path: utzoo!attcan!uunet!mcvax!hp4nl!philapd!ssp15!jos From: jos@philapd.UUCP (Jos Vos) Newsgroups: comp.lang.c,comp.lang.scheme.c Subject: Re: Need C language Description Message-ID: <458@ssp15.idca.tds.philips.nl> Date: 1 Aug 88 13:27:41 GMT References: <12707@agate.BERKELEY.EDU> Organization: Philips TDS, P.O. Box 245, 7300 AE Apeldoorn, The Netherlands Lines: 17 In article <12707@agate.BERKELEY.EDU> cotner@bosco.berkeley.edu writes: >A friend of mine would like to write a small C compiler for a project. >(The rest of the class are writing Pascal compilers). However, he needs >a formal language description of C, and so far neither one of us have been >able to find one. In "C: A Reference Manual", written by Harbison & Steele, a LALR(1) grammar is included in an appendix. You *should* be able to feed it to YACC, for instance, but I have never tried it! Of course (?), this is only a *syntactic* description, not a *semantic* one. -- # Jos Vos # Internet jos@philapd.UUCP # # Philips TDS, Dept SSP # # # P.O. Box 245 # UUCP ..!mcvax!philapd!jos # # 7300 AE Apeldoorn, The Netherlands # Phone +31 55 433181 #