A custom made compiler for C Language made using yacc and flex
All the basic constructs like variable declarations, arithmetic expressions, assignments, control-flow constructors like if , if-else, swithc, loop constructs like while, do-while along with break and continue statements are present.
Make sure flex and yacc are installed in your system. If you are using windows, you can wsl for linux and run. Get into one of the folders and run these commands
cd cs21b003_lab11 // for example
make clean
make fname=prob1
./parser input1