Compiler Design
Get the full GTU study material, English & Gujarati textbook PDFs, syllabus curriculum, and solved previous year question papers.
English Book & Chapters
English Book Coming Soon
We are working hard to add this material. Stay tuned for updates!
Follow on Instagram for UpdatesGTU Previous Year Papers
Compiler Design Syllabus — Unit-wise Content
The official GTU curriculum for Compiler Design (subject code 2170701) as prescribed for Computer Engineering · Semester 7 divides the course into 3 units, covering 33 listed topics. The unit-wise breakdown below is read from the GTU syllabus document for this subject code, so you can check what the course actually covers before deciding which papers to attempt.
Download the official syllabus PDF (2170701)Unit 1 Overview of the Translation Process, A Simple Compiler,
- Difference between interpreter
- assembler and compiler
- Overview and use of linker and loader
- types of Compiler
- Analysis of the Source Program
- The Phases of a Compiler
- Cousins of the Compiler
- The Grouping of Phases
- Lexical Analysis
- Hard Coding and Automatic Generation Lexical Analyzers
- Front-end and Back-end of compiler
- pass structure
Unit 2 Lexical Analyzer
- Introduction to Lexical Analyzer
- Input Buffering
- Specification of Tokens
- Recognition of Tokens
- A Language for Specifying Lexical Analyzers
- Finite Automata From a Regular Expression
- Design of a Lexical Analyzer Generator
- Optimization of DFA
Unit 3 Parsing Theory
- Top Down and Bottom up Parsing Algorithms
- Top-Down Parsing
- Bottom-Up Parsing
- Operator-Precedence Parsing
- LR Parsers
- Using Ambiguous Grammars
- Parser Generators
- Automatic Generation of Parsers
- Syntax-Directed Definitions
- Construction of Syntax Trees
- Bottom-Up Evaluation of S-Attributed Definitions
- L-Attributed Definitions
- syntax directed definitions and translation schemes