Posted on 2003-02-25
I have written a program that takes an equation as an argument, converts it to postfix, evaluates it, and spits out the answer. For example, I can type in,
and I will get 9366.43 as the output. My question is this, where can I find information on how to perform more advanced expression evaluation? Like that used by compilers, for example. I do realize that the method I am using is similar to what the compiler is doing but I doubt that it is really this simple.