Hacker GitHub

← All repos

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

Mentions per year 3 mentions · busiest year 2019 (2)
20082026
  1. ▲ 10
    Operator_precedence_parsing: C89 expressions parsed with the shunting yard algo
    story by todsacerdoti · 2024-07-21 · 0 comments
  2. …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
  3. …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