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=0.6 required=5.0 tests=BAYES_05,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6bdb3c3bfcbc6c4e,start X-Google-Attributes: gid103376,public X-Google-Thread: 1111a3,6bdb3c3bfcbc6c4e,start X-Google-Attributes: gid1111a3,public X-Google-ArrivalTime: 1994-11-07 07:17:56 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!pipex!uunet!gumby!wmichgw!x91nikorawal From: x91nikorawal@wmich.edu (HACKER) Newsgroups: comp.lang.ada,comp.lang.objective-c Subject: Help on parsing Mathematical expression Message-ID: <1994Nov7.092638.23531@wmichgw> Date: 7 Nov 94 09:26:38 EDT Organization: World's greatest Genius Xref: nntp.gmd.de comp.lang.ada:16575 comp.lang.objective-c:2810 Date: 1994-11-07T09:26:38-04:00 List-Id: Hi, Any suggestions on parsing a mathematical expression ?? For example (3 + 5) * 4 7 + 3 5 * 9 + (2 + 3 * (2 + 8)) Thanks 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 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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,280f68a147d4616d,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-11-14 13:43:47 PST Path: nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!gatech!paladin.american.edu!auvm!PSAVAX.PWFL.COM!CONDIC Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU Newsgroups: comp.lang.ada Message-ID: <9411141941.AA08383@ajpo.sei.cmu.edu> Date: Mon, 14 Nov 1994 14:37:33 EST Sender: Ada programming language From: CONDIC@PSAVAX.PWFL.COM Subject: Re: Help on parsing Mathematical expression Comments: To: INFO-ADA@ajpo.sei.cmu.edu Date: 1994-11-14T14:37:33-05:00 List-Id: From: Marin David Condic, 407.796.8997, M/S 731-93 Subject: Re: Re: Help on parsing Mathematical expression Original_To: PROFS%"SMTP@PWAGPDB" Original_cc: CONDIC Greg Franks writes: |> |>>>>>> "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: Do not be taken in by this. As a graduate from the world renowned Department of Computer Sience at Western Michingan University, (note the "@wmich.edu") let me asure you that this is a rather common assignment in the "compiler theory" class. Tell me "HACKER" - Is Dr. Kerstetter still teaching this course? Pax, Marin Marin David Condic, Senior Computer Engineer ATT: 407.796.8997 M/S 731-93 Technet: 796.8997 Pratt & Whitney, GESP Internet: CONDICMA@PWFL.COM P.O. Box 109600 Internet: MDCONDIC@AOL.COM West Palm Beach, FL 33410-9600 =============================================================================== "Whatever is not nailed down is mine. Whatever I can pry up is not nailed down." -- Collis P. Huntington, railroad tycoon ===============================================================================