You may put a space between each tokens. List of tokens: Any number + - / * ^ ( ) Parses and computes mathematical expressions from strings, by converting the expression to reverse polish notation. Power accuracy is 10^8 Examples of expressions: phi : ( 1 + 5 ^ ( 1 / 2 ) ) / 2 sqrt(2) : 2 ^ ( 1 / 2 )