>that is without a doubt the ugliest code i've ever seen.
But this code does:
1. lexing of numbers
2. lexing of operators
3. parsing them into infix expression with braces
4. its output can be passed directly to "eval"
5. no external ultilities used (even "strip" defined)