Everything About ___
Live briefing

Everything about Shunting yard algorithm

Algorithm to parse a syntax with infix notation to postfix notation

In computer science, the shunting yard algorithm is a method for parsing arithmetical or logical expressions, or a combination of both, specified in infix notation. It can produce either a postfix notation string, also known as reverse Polish notation (RPN), or an abstract syntax tree (AST). The algorithm was invented by Edsger Dijkstra, first published in November 1961, and named because its operation resembles that of a railroad shunting yard. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: Shunting yard algorithmA 5-minute orientation
  2. Pick up a classic book: ICTE 2015The most-reprinted book on the subject
  3. Read the landmark paper: Models and Algorithms for Container Allocation Problems on Trains in a Rapid Transshipment Shunting YardCited 86 times
  4. Go sideways: Operator-precedence parserA closely related topic
  5. Go sideways: ParsingA closely related topic

📖 Definitions

No dictionary entry for this exact phrase.

🏆 Landmark papers (most cited)

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics