Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!DURHAM.MAILNET!Barry_Cornelius From: Barry_Cornelius@DURHAM.MAILNET Newsgroups: net.lang.mod2 Subject: Re: yacc description of M2 Message-ID: <83397@DURHAM.MAILNET> Date: Fri, 9-May-86 05:43:10 EDT Article-I.D.: DURHAM.83397 Posted: Fri May 9 05:43:10 1986 Date-Received: Tue, 13-May-86 00:36:30 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 15 On 17Apr86 kpk of Georgia Inst. of Technology sent this to info-modula-2: > There exists a published grammar for Modula-2 which is > suitable for input to yacc. If someone has this grammar > online, I sure would appreciate a copy. Also, any > pointers to where it is/was published would be greatly > appreciated. I believe the article you're looking for is: "Lexing and Parsing Modula-2" David Spector ACM SIGPLAN Notices Volume 18 Number 10 (Oct. 1983), pp25-32 Sometime ago I had the production rules typed into a file but have not checked them for errors yet. They need some massaging to get them into a useful form for yacc. I'm attempting to send them to you but may fail through uncertainty of electronic-mail address. Can you mail me with a dummy message so that I can reply.