SAP_parser
Used PEG to create a parser using the grammar in grammar.pegjs. Unfortunately, i have no way to properly test this (dont have access to the course anymore). If someone stumbles across this and tests it, that would be dope (but highly unlikely)
Old version (Ruby and old Javascript files) used shunting yard algorithm. This quickly got out of hand, and was a terrible idea in general.
Use it online here: SAP_parser