Some links that might be helpful for this story.
Prefix and Postfix Expressions in Data Structure
Reverse Polish notation
eval, Built-in Functions