Open utterances-bot opened 2 years ago
Very minor quibble, but the code in Operators.java does not match the fragment shown at https://www.andreinc.net/2010/10/05/converting-infix-to-rpn-shunting-yard-algorithm#the-operators, specifically the associativity specification for subtraction. Doesn't seem to affect how the code works, however.
Converting infix to RPN (shunting-yard algorithm) | andreinc
The shunting-yard algorithm implemented in Java.
https://www.andreinc.net/2010/10/05/converting-infix-to-rpn-shunting-yard-algorithm