Simple infix to postfix to parse formulas into RPN
php in2po.php -f "1 * 100 / (2 + 3 + 1) * 100"
1,100,*,2,3,+,1,+,/,100,*
- Add custom separator to output expression
- Add evaluation
Simple infix to postfix formula parser
Simple infix to postfix to parse formulas into RPN
php in2po.php -f "1 * 100 / (2 + 3 + 1) * 100"
1,100,*,2,3,+,1,+,/,100,*
Simple infix to postfix formula parser
MIT License