Skip to content

freddiehaddad/shuntingyard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Shunting Yard Algorithm

The program is simple implementation of the Shunting Yard Algorithm that supports addition and subtraction of positive and negative integers. It uses Reverse Polish notation to structure the input and perform the evaluation. Supported operators are:

  • Plus (+)
  • Minus (-)
  • Parentheses

Precedence is give to expressions surrounded by parentheses. Evaluation is left-associative.