Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!deimos.cis.ksu.edu!rutgers!pyrnj!dasys1!jpr From: jpr@dasys1.UUCP (Jean-Pierre Radley) Newsgroups: comp.sources.wanted Subject: Re: Kernighan & Pike "hoc" wanted Keywords: unix, yacc, source Message-ID: <9431@dasys1.UUCP> Date: 24 Apr 89 21:02:29 GMT References: <11531@cgl.ucsf.EDU> Reply-To: jpr@dasys1.UUCP (Jean-Pierre Radley) Organization: TANGENT Lines: 19 In article <11531@cgl.ucsf.EDU> bic@cgl.ucsf.edu.UUCP (Bruce Cohen) writes: >I am going through (Kernighan & Pike)'s book _The UNIX Programming >Environment_. An interesting chapter demonstrates the development of >a calculator program which uses YACC. The final version is over 800 >lines of code which I would rather not enter. >Does anyone have a pointer to the source? If you twist my arm ever so gently, I'll e-mail you my hoc source code. But entering all those lines was part of my very first learning experiences, and I'd hate to think that you would voluntarily deprive yourself of both the pain and the joy, not to mention the education that comes from making the effort. I'm not flaming, just suggesting that it might be a minor disfavor to send you the stuff :-) -- Jean-Pierre Radley Honi soit jpr@dasys1.UUCP New York, New York qui mal ...!hombre!jpradley!jpr CIS: 76120,1341 y pense ...!hombre!trigere!jpr