In order to complete my video game I had to come up with a way to parse a basic equation, this is it.