Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!iuvax!gtall From: gtall@iuvax.cs.indiana.edu (Gerard Allwein) Newsgroups: comp.sys.mac.programmer Subject: Re: byacc problems under MPW Message-ID: <54128@iuvax.cs.indiana.edu> Date: 12 Aug 90 21:46:59 GMT References: Organization: Indiana University, Bloomington Lines: 20 Ah, that accursed byacc ought to be dragged around the universe by alien Mr. Potatoe Heads. The yacc you want is on apple.apple.com in the /pub/dts/mac/hacks directory. Look for something with Bison in the name. This is Gnu's version of yacc. Flex is binhexed with it and is Gnu's version of lex. These are both MPW tools. You must remake the tool so it will get your directory structure straight. You must also drop their simple and hairy parser templates into your CLibraries folder. Put an alias for the command bison in your startup just like you would for byacc (sic). The command line to invoke it will look like bison -o -y For some odd reason, I found I need to put the output file spec before the input file. And wherever you got that sickly excuse for yacc called byacc, tell them to kill it and replace it with this wonderous version. Gerry