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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

26e545f · Sep 17, 2018

History

81 Commits
Sep 17, 2018
Jun 5, 2016
Jul 21, 2018
Jul 13, 2016
Jun 1, 2017
Sep 9, 2018
Oct 8, 2016
Sep 17, 2018
Sep 12, 2016
Oct 30, 2017
Sep 17, 2018
Sep 12, 2016
Oct 21, 2017
Oct 8, 2016

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