From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.9 required=5.0 tests=BAYES_50,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6bdb3c3bfcbc6c4e X-Google-Attributes: gid103376,public X-Google-Thread: 1111a3,6bdb3c3bfcbc6c4e X-Google-Attributes: gid1111a3,public X-Google-ArrivalTime: 1994-11-07 12:41:41 PST Newsgroups: comp.lang.ada,comp.lang.objective-c Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!utnut!nott!cunews!bertrand.ccs.carleton.ca!greg From: greg@medusa.sce.carleton.ca (Greg Franks) Subject: Re: Help on parsing Mathematical expression In-Reply-To: x91nikorawal@wmich.edu's message of 7 Nov 94 09:26:38 EDT Message-ID: Sender: news@cunews.carleton.ca (News Administrator) Organization: Carleton Univeristy, Systems & Computer Eng. Dept. References: <1994Nov7.092638.23531@wmichgw> Date: Mon, 7 Nov 1994 17:54:04 GMT Xref: nntp.gmd.de comp.lang.ada:16591 comp.lang.objective-c:2811 Date: 1994-11-07T17:54:04+00:00 List-Id: >>>>> "HACKER" == HACKER writes: HACKER> Hi, HACKER> Any suggestions on parsing a mathematical expression ?? HACKER> For example HACKER> (3 + 5) * 4 HACKER> 7 + 3 HACKER> 5 * 9 + (2 + 3 * (2 + 8)) Try "man yacc" on a UNIX machine near you. You might also want to take a course in compiler construction. -- __@ Greg Franks, (613) 788-5726 __@ _`\<,_ Systems Engineering, Carleton University, _`\<,_ (*)/ (*) Ottawa, Ontario, Canada K1S 5B6. (*)/ (*) Greg Franks