Skip to content

STEPS TO COMPILE: compile the lex file: flex filename.l compile the yacc file: yacc -d filename.y compile c++ programs: g++ lex.yy.c filename.tab.c -lfl execute the file: ./a.out<inp.txt CONCEPTS INCLUDED convert unmatched if to matched if. convert for loops and do while loops into while loops. construction of syntax tree. three address generati…

Notifications You must be signed in to change notification settings

Praveensiva17/compiler_design_basics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

compiler_design_basics

STEPS TO COMPILE: compile the lex file: flex filename.l
compile the yacc file: yacc -d filename.y compile c++ programs: g++ lex.yy.c filename.tab.c -lfl execute the file: ./a.out<inp.txt

CONCEPTS INCLUDED
convert unmatched if to matched if. convert for loops and do while loops into while loops. construction of syntax tree. three address generation & backpatching. control flow graph. Directed Acyclic Graph(DAG) for basic blocks. copy propagation & constant folding.

About

STEPS TO COMPILE: compile the lex file: flex filename.l compile the yacc file: yacc -d filename.y compile c++ programs: g++ lex.yy.c filename.tab.c -lfl execute the file: ./a.out<inp.txt CONCEPTS INCLUDED convert unmatched if to matched if. convert for loops and do while loops into while loops. construction of syntax tree. three address generati…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published