Skip to content

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

License

Notifications You must be signed in to change notification settings

WilliamImm/shunting-yard-cpp

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published