comp.lang.ada
 help / color / mirror / Atom feed
* Help on parsing Mathematical expression
@ 1994-11-07 13:26 HACKER
  1994-11-07 17:54 ` Greg Franks
  0 siblings, 1 reply; 3+ messages in thread
From: HACKER @ 1994-11-07 13:26 UTC (permalink / raw)



Hi,
  Any suggestions on parsing a mathematical expression ??

For example
  
  (3 + 5) * 4

  7 + 3

  5 * 9 + (2 + 3 * (2 + 8))


Thanks




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Help on parsing Mathematical expression
  1994-11-07 13:26 HACKER
@ 1994-11-07 17:54 ` Greg Franks
  0 siblings, 0 replies; 3+ messages in thread
From: Greg Franks @ 1994-11-07 17:54 UTC (permalink / raw)


>>>>> "HACKER" == HACKER  <x91nikorawal@wmich.edu> 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.           (*)/ (*)
  <a href="http://www.sce.carleton.ca/rads/greg/greg.html">Greg Franks</a>




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Help on parsing Mathematical expression
@ 1994-11-14 19:37 CONDIC
  0 siblings, 0 replies; 3+ messages in thread
From: CONDIC @ 1994-11-14 19:37 UTC (permalink / raw)


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 <greg@MEDUSA.SCE.CARLETON.CA> writes:
|>
|>>>>>> "HACKER" == HACKER  <x91nikorawal@wmich.edu> 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
===============================================================================



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1994-11-14 19:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-11-14 19:37 Help on parsing Mathematical expression CONDIC
  -- strict thread matches above, loose matches on Subject: below --
1994-11-07 13:26 HACKER
1994-11-07 17:54 ` Greg Franks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox