A haskell program that can parse a mathematical expression, convert it to RPN, and then evaluate the result.
- Convert expression into a list of tokens. Types of tokens include:
LeftParenRightParenOpToken(for +, -, /, *, ^)FloatTokenfor any number
- Use shunting-yard algorithm to convert the list of tokens into RPN (Reverse Polish Notation)
- Evaluate the RPN expression and output a result
