bourguet/operator_precedence_parsing
View on GitHub ↗ ★ 88 Python
C89 expressions parsed with the shunting yard algorithm in Python
3 mentions on Hacker News by 2 people: 1 story, 2 comments · first 2019-02-19 · latest 2024-07-21
20082026
-
…thought that. Then he implemented it and realized it wasn't true. See this section of the README: https://github.com/bourguet/operator_precedence_parsing I had the mistaken impression that they were "just" replacing an explicit stack with…
comment by chubot · 2019-02-19 · in Shunting-yard algorithm -
…with tests: Code for the Shunting Yard Algorithm http://www.oilshell.org/blog/2017/04/22.html https://github.com/bourguet/operator_precedence_parsing It seems like there are 2 common algorithms for expressions: the shunting yard algorithm…
comment by chubot · 2019-02-19 · in Shunting-yard algorithm