comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@escmail.orl.mmc.com>
Subject: Re: Infix calculator
Date: 1996/09/06
Date: 1996-09-06T00:00:00+00:00	[thread overview]
Message-ID: <3230C40E.15FB7483@escmail.orl.mmc.com> (raw)
In-Reply-To: 322DB41D.EC4@xilinx.com


gooby@xilinx.com wrote:
> 
> calculator for infix-notation expressions. The one pre-requisite is that
> it is not RECURSIVE, since my elaborator can't handle recursive sub-prog
> calls.

That means the "calculator" would have to implement its own stack to push
and pop its operands. Code implementing a simple stack is all you really
need. The rest should be trivial.


-- 
T.E.D.          
                |  Work - mailto:dennison@escmail.orl.mmc.com  |
                |  Home - mailto:dennison@iag.net              |
                |  URL  - http://www.iag.net/~dennison         |




      parent reply	other threads:[~1996-09-06  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-04  0:00 Infix calculator gooby
1996-09-05  0:00 ` kjprice
1996-09-06  0:00 ` Ted Dennison [this message]
replies disabled

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