Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

taylorhansen/Math-Eval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Math Eval

A simple PEMDAS expression evaluator written in C. The parser is a Top Down Operator Precedence parser.

Things I learned

I was doing some research on parsing algorithms, after making a RiSC assembler and emulator, when I found out about TDOP. It's a really cool algorithm that views parsing in a whole other perspective, though a not very popular perspective. Also, doing this project in C helped me figure out how exactly OOP concepts are even implemented by e.g. a C++ compiler.

License

This project is under the MIT license, which can be found here.