A simple compiler made in python to parse a statement , made using Abstract Syntax Tree.
Can solve complex mathematical expressions following BODMAS property
- First of all clone the repository
- Use python interpreter1.py , to run the code.
- Now you can enter statements to parse from.
- Created a Abstract Syntax Tree structure , to parse the input.
- Uses Compiler designing principles :
- Lexical Analysis
- Syntax Analysis
- Semantic Analysis
- Language used : Python