CD Manual Preface
CD Manual Preface
Compiler Design
(3170701)
B.E. Semester 7
(Computer Engineering)
DTE’s Vision
Institute’s Vision
Institute’s Mission
Department’s Vision
Department’s Mission
Compiler Design is an essential subject for computer science and engineering students. It deals
with the theory and practice of developing a program that can translate source code written in one
programming language into another language. The main objective of this subject is to teach
students how to design and implement a compiler, which is a complex software system that
converts high-level language code into machine code that can be executed on a computer. The
design of compilers is an essential aspect of computer science, as it helps in bridging the gap
between human-readable code and machine-executable code.
This lab manual is designed to help students understand the concepts of compiler design and
develop hands-on skills in building a compiler. The manual provides step-by-step instructions for
implementing a simple compiler using C and other applicable programming language, covering
all the essential components such as lexical analyzer, parser, symbol table, intermediate code
generator, and code optimizer.
The manual is divided into several sections, each focusing on a specific aspect of compiler design.
The first section provides an introduction to finite automata, phases of compiler and covering the
basic concepts of lexical analysis. The subsequent sections cover parsing, code generation, and
study of Learning Basic Block Scheduling. Each section includes detailed instructions for
completing the lab exercises and programming assignments, along with examples and code
snippets.
The lab manual also includes a set of challenging programming assignments and quizzes that will
help students test their understanding of the subject matter. Additionally, the manual provides a
list of recommended books and online resources for further study.
This manual is intended for students studying Compiler Design and related courses. It is also
useful for software developers and engineers who want to gain a deeper understanding of
compiler design and implementation. We hope that this manual will be a valuable resource for
students and instructors alike and will contribute to the learning and understanding of compiler
design.
COMP702 Compiler Design(3170701) 210180107048
1. Students are expected to carefully listen to all the theory classes delivered by the
faculty members and understand the COs, content of the course, teaching and
examination scheme, skill set to be developed etc.
2. Students will have to perform experiments as per practical list given.
3. Students have to show output of each program in their practical file.
4. Students are instructed to submit practical list as per given sample list shown on next page.
5. Student should develop a habit of submitting the experimentation work as per the
schedule and s/he should be well prepared for the same
Index
(Progressive Assessment Sheet)