Parsing/Shunting-yard algorithm: Difference between revisions