WilliamImm/shunting-yard-cpp

Simple program to parse infix equations using shunting yard and reverse polish notation

★ 0Forks 0C++GitHub ↗Compare

README

Shunting Yard Parsing (C++)

This program takes an equation in infix notation (eg: "(5 + 3) / 2 + 3 ^ 2") and converts it into a Reverse Polish Notation equation before parsing it.

While this was made as a programming exercise, it's one that I feel is worth sharing to the world

Compiling

Simply run make to compile, and make clean to clean up.

Todo

  • Document functions

Contributors

WilliamImm

Issues