COMPILER DESIGN LAB EXERCISES
OS VERSION -- UBUNTU 14.04
pre - installations : 'sudo apt-get install flex' -> for lex files 'sudo apt-get install bison' -> for yacc files
1 . IF-ELSE (ifelse) 2 . SYMBOLTABLE (symbolTable folder) 3 . FORLOOP TO WHILE (forloop folder) 4 . SYNTAXTREE (syntax folder) 5 . THREEADDR , BASICBLOCK , CFG (basicblock folder) 6 . CODE-GENERATION (syntax folder)
COMPILING PROCESS : use 'make' command to compile the files
use ./a.out to execute the files