Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!munnari.oz.au!bruce!monu1!monu4!ins624y From: ins624y@monu4.cc.monash.edu.au (mr r. walker) Newsgroups: comp.lang.c Subject: Re: Yacc (or is that Yucc?) Message-ID: <4746@monu1.cc.monash.oz> Date: 30 Sep 90 06:07:14 GMT Sender: news@monu1.cc.monash.oz Organization: Monash University, Clayton, Vic 3168, Australia Lines: 22 Hi! At the moment I am attempting to write a parses for integer infix maths formulas, using that dynamic duo Lex and Yacc. I am not having much luck --- if anyone out there could email me the yacc and/or lex code to do this I would be *VERY* grateful (unfortunately, I do not have a pretty sister .... well, there go all the females who were going to help me out ....) I doesn't have to be a flash all-singing all-dancing parses --- all I want it to do is calculate expressions like 1+2*3+(45+3)/4 --- no variables, only integer expressions (ie. a/b only gives the integer part of the answer). HHHeeelllpppp!!!! Thanks, Rod.