2 ms·
It's a neat algorithm :) When learning Go I made an implementation of Shunting-Yard at some point: https://github.com/DylanMeeus/GoPlay/blob/master/ExpressionP
by Insanity 8y ago
It's a neat algorithm :)
When learning Go I made an implementation of Shunting-Yard at some point: https://github.com/DylanMeeus/GoPlay/blob/master/ExpressionParser/Infix/infixparser.go https://github.com/DylanMeeus/GoPlay/blob/master/ExpressionP...
As part of something else I was trying. As I was just learning Go at that point, the code is not that clean :D But AFAIK it did work. My memory is a bit hazy on that :)