a frogShunting yard

the shunting yard algorithm

Invented by Edsger Dijkstra

This is a way to parse infix (1 + 1) notation and convert it to postfix/RPN (1 1 +) which is easier to interpret cuz no order of operations.

All of this info is from the wikpedia article but it wasnt really clear to me so im rewriting it. I'm skipping over functions and right associating operators cuz idrk what it is and i dont need it :)

Ok so for the algorithm there are 2 stacks, the output stack and operator stack

pretty simple and neat!