make clean
make && ./Test.out < TestInput1.txt
Programming Language: Python
Tools: YACC (Yet Another Compiler Compiler), Lex (for lexical analysis)
Data Structures: Symbol tables, parse trees, abstract syntax trees (ASTs)
Token identification
Lexical error detection
Symbol Table
Syntax declaration
Indentation and syntactic error detection
Parse Tree
Abstract Syntax Tree
SDD + SDT
Annotated Parse Tree
Semantic Error detection
3 address code - Quadruples
Backpatching
Basic blocks
DAG, CFG
Induction Variable elimination
Constant Folding + Copy Propagation
Dead Code Elimination
Peephole Optimization