previous | index | next

Using an Expression Stack

To implement this method we remember scanned tokens on a stack, which allows the following operations: In the process of evaluating an expression, we may need to take the following additional actions: A special token, $, is used to mark the bottom of the stack and the end of the input expression.

previous | index | next