Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.6.2.16 $; site ima.UUCP Path: utzoo!decvax!ima!compilers From: compilers@ima.UUCP Newsgroups: mod.compilers Subject: Re: Compilers digest Vol. 1 Number 2 Message-ID: <136300012@ima.UUCP> Date: Fri, 3-Jan-86 14:51:00 EST Article-I.D.: ima.136300012 Posted: Fri Jan 3 14:51:00 1986 Date-Received: Sat, 4-Jan-86 03:19:55 EST Lines: 20 Approved: compilers@ima.uucp Nf-ID: #N:ima:136300012:000:863 Nf-From: ima!compilers Jan 3 14:51:00 1986 [from darryl at ISM780C (Darryl Richman)] Has anyone looked at some of the newer, more automated methods of code generation. I built a small code generator based on some of the ideas by Graham and Glanville, supporting Unary *, =, +, and Binary -. I built it for the 68k in about 5 hours. This technique presupposes a linear intermediate language, which you then parse with, say, a LALR(1) parser, emitting coe (or not as appropriate) with each reduction. The productions represent addressing modes and operations. Oh, BTW, although YACC itself is owned by AT&T, isn't it the case that the output from yacc owes nothing to them? I believe that you owe no royalties for the use and distributions of /lib/yaccpar. --Darryl Richman, INTERACTIVE Systems Corp. ...!cca!ima!ism780!darryl The views expressed above are my opinions only. --------