A parser that I made for discrete mathematics class Concept I took most ideas from the shunting-yard algorithm and implemented it in a parser. It supports a little more than what your average shunting-yard algorithm can do. Running tests python -m unittest