Shunting yard algorithm

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).

Source: Wikipedia — Shunting yard algorithm (CC BY-SA 4.0)

Shunting yard algorithm

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).

Source: Wikipedia "Shunting yard algorithm" · CC BY-SA 4.0

Share this article: X · Bluesky
Privacy Policy