(no title)
codeplea | 7 years ago
Shunting yard works very well if you want to parse math expressions into postfix notation. It is then really easy to run postfix notation into bytecode on a stack-based virtual machine.
For comparison, here is a shunting yard based math expression evaluator in Javascript that I wrote before writing TinyExpr: https://github.com/codeplea/rimath
No comments yet.