Compiler Design

GTU Study
KHUDKIBOOK
COMPILER DESIGN 3170701
FREE PDF 3170701
Code: 3170701 Credits: 4 Semester 7 ICT

Compiler Design

Get the full GTU study material, English & Gujarati textbook PDFs, syllabus curriculum, and solved previous year question papers.

Compiler Design Syllabus — Unit-wise Content

The official GTU curriculum for Compiler Design (subject code 3170701) as prescribed for ICT · Semester 7 divides the course into 8 units, covering 54 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 (3170701)

Unit 1 Overview of the Compiler and its Structure

3 lecture hours

  • Language processor
  • Applications of language processors
  • Definition-Structure-Working of compiler
  • the science of building compilers
  • Basic understanding of interpreter and assembler
  • Difference between interpreter and compiler
  • Compilation of source code into target language
  • Cousins of compiler
  • Types of compiler

Unit 2 Lexical Analysis

5 lecture hours

  • The Role of the Lexical Analyzer
  • Specification of Tokens
  • Recognition of Tokens
  • Input Buffering
  • elementary scanner design and its implementation (Lex)
  • Applying concepts of Finite Automata for recognition of tokens

Unit 3 Syntax Analysis

  • Understanding Parser and CFG(Context Free Grammars)
  • Left Recursion and Left Factoring of grammar Top Down and Bottom up Parsing Algorithms
  • 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 11 Subject Name : Compiler Design Compiler Design is a fundamental subject of Computer Engineering
  • Compiler design Bachelor of Computer Engineering Subject Code: 3170701 w.e.f

Unit 4 Error Recovery

4 lecture hours

  • Error Detection & Recovery
  • Ad-Hoc and Systematic Methods

Unit 5 Intermediate-Code Generation

5 lecture hours

  • Variants of Syntax Trees
  • Three-Address Code
  • Types and Declarations
  • Translation of Expressions
  • Type Checking
  • Syntax Directed Translation Mechanisms
  • Attributed Mechanisms And Attributed Definition

Unit 6 Run-Time Environments

4 lecture hours

  • Source Language Issues
  • Storage Organization
  • Stack Allocation of Space
  • Access to Nonlocal Data on the Stack
  • Heap Management

Unit 7 Code Generation and Optimization

6 lecture hours

  • Issues in the Design of a Code Generator
  • The Target Language
  • Addresses in the Target Code
  • Basic Blocks and Flow Graphs
  • Optimization of Basic Blocks
  • A Simple Code Generator
  • Machine dependent optimization
  • Machine independent optimization Error detection of recovery

Unit 8 Instruction-Level Parallelism

4 lecture hours

  • Processor Architectures
  • Code-Scheduling Constraints
  • Basic-Block Scheduling
  • Pass structure of assembler

Study on Android App:

Download Khudkibook on Google Play Store

More Subjects in Semester 7

GTU Study
KHUDKIBOOK
PROJECT - I 2170002
FREE PDF 2170002

Project - I

Code: 2170002 Credit: 5
Open →
GTU Study
KHUDKIBOOK
MOBILE COMPUTING AND 2170710
FREE PDF 2170710

Mobile Computing and Wireless Communication

Code: 2170710 Credit: 6
Open →
GTU Study
KHUDKIBOOK
DIGITAL SIGNAL PROCESSING 2171003
FREE PDF 2171003

Digital Signal Processing

Code: 2171003 Credit: 6
Open →
GTU Study
KHUDKIBOOK
MICROPROCESSOR AND MICROCONTROLLER 2173203
FREE PDF 2173203

Microprocessor and Microcontroller

Code: 2173203 Credit: 6
Open →
GTU Study
KHUDKIBOOK
SATELLITE COMMUNCIATION AND 2173207
FREE PDF 2173207

Satellite Communciation and Networking

Code: 2173207 Credit: 6
Open →
GTU Study
KHUDKIBOOK
DISTRIBUTED COMPUTING 2173208
FREE PDF 2173208

Distributed Computing

Code: 2173208 Credit: 5
Open →
GTU Study
KHUDKIBOOK
DIGITAL IMAGE PROCESSING 2173210
FREE PDF 2173210

Digital Image Processing

Code: 2173210 Credit: 5
Open →
GTU Study
KHUDKIBOOK
SUMMER INTERNSHIP 3170001
FREE PDF 3170001

Summer Internship

Code: 3170001 Credit: 2
Open →
GTU Study
KHUDKIBOOK
MOBILE COMPUTING AND 3170710
FREE PDF 3170710

Mobile Computing and Wireless Communication

Code: 3170710 Credit: 3
Open →
GTU Study
KHUDKIBOOK
CLOUD COMPUTING 3170717
FREE PDF 3170717

Cloud Computing

Code: 3170717 Credit: 3
Open →
GTU Study
KHUDKIBOOK
BIG DATA ANALYTICS 3170722
FREE PDF 3170722

Big Data Analytics

Code: 3170722 Credit: 4
Open →
GTU Study
KHUDKIBOOK
MACHINE LEARNING 3170724
FREE PDF 3170724

Machine Learning

Code: 3170724 Credit: 4
Open →
GTU Study
KHUDKIBOOK
COMPUTER VISION 3171614
FREE PDF 3171614

Computer Vision

Code: 3171614 Credit: 4
Open →
GTU Study
KHUDKIBOOK
SATELLITE COMMUNICATION AND 3173207
FREE PDF 3173207

Satellite Communication and Networking

Code: 3173207 Credit: 4
Open →
GTU Study
KHUDKIBOOK
SYSTEM AND NETWORK 3173211
FREE PDF 3173211

System and Network Security

Code: 3173211 Credit: 3
Open →
GTU Study
KHUDKIBOOK
TELECOMMUNICATION ENGINEERING 3173212
FREE PDF 3173212

Telecommunication Engineering

Code: 3173212 Credit: 4
Open →
GTU Study
KHUDKIBOOK
SOFTWARE ENGINEERING 3173213
FREE PDF 3173213

Software Engineering

Code: 3173213 Credit: 4
Open →
GTU Study
KHUDKIBOOK
VIRTUAL REALITY 3173214
FREE PDF 3173214

Virtual Reality

Code: 3173214 Credit: 3
Open →
GTU Study
KHUDKIBOOK
IOT AND ITS 3173215
FREE PDF 3173215

IOT and its applications

Code: 3173215 Credit: 3
Open →
GTU Study
KHUDKIBOOK
WIRELESS SENSOR NETWORKS 3173216
FREE PDF 3173216

Wireless Sensor Networks

Code: 3173216 Credit: 4
Open →