CS6612 COMPILER LAB - Reg 2013
CS6612 COMPILER LAB - Reg 2013
Lecture Plan
Semester & Branch: VI Semester B.E. Computer Science and Engineering/B Section
Course Objectives:
The student should be made to
1. Be exposed to compiler writing tools.
2. Learn to implement the different Phases of compiler
3. Be familiar with control flow and data flow analysis
4. Learn simple optimization techniques
Course Outcomes:
At the end of the course, the student should be able to
1. Implement the different Phases of compiler using tools
2. Analyze the control flow and data flow of a typical program
3. Optimize a given program
4. Generate an assembly language program equivalent to a source language program
Cycle 1
Implementation of symbol table.
1 Demo
Develop a lexical analyzer to recognize a
few patterns in c (ex. Identifers, Demo
2
constants, comments, operators etc.)
Cycle 2
Implement any one storage allocation
10 strategies(heap, stack, static) Demo