Compiler Design

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

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 CSE · 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
COMPILER DESIGN 2170701
FREE PDF 2170701

Compiler Design

Code: 2170701 Credit: 6
Open →
GTU Study
KHUDKIBOOK
INFORMATION AND NETWORK 2170709
FREE PDF 2170709

Information and Network Security

Code: 2170709 Credit: 6
Open →
GTU Study
KHUDKIBOOK
MOBILE COMPUTING AND 2170710
FREE PDF 2170710

Mobile Computing and Wireless Communication

Code: 2170710 Credit: 6
Open →
GTU Study
KHUDKIBOOK
IMAGE PROCESSING 2170712
FREE PDF 2170712

Image Processing

Code: 2170712 Credit: 5
Open →
GTU Study
KHUDKIBOOK
SERVICE ORIENTED COMPUTING 2170713
FREE PDF 2170713

Service Oriented Computing

Code: 2170713 Credit: 5
Open →
GTU Study
KHUDKIBOOK
DISTRIBUTED DBMS 2170714
FREE PDF 2170714

Distributed DBMS

Code: 2170714 Credit: 5
Open →
GTU Study
KHUDKIBOOK
DATA MINING AND 2170715
FREE PDF 2170715

Data Mining and Business Intelligence

Code: 2170715 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
ARTIFICIAL INTELLIGENCE 3170716
FREE PDF 3170716

Artificial Intelligence

Code: 3170716 Credit: 4
Open →
GTU Study
KHUDKIBOOK
CLOUD COMPUTING 3170717
FREE PDF 3170717

Cloud Computing

Code: 3170717 Credit: 3
Open →
GTU Study
KHUDKIBOOK
INFORMATION RETRIEVAL 3170718
FREE PDF 3170718

Information Retrieval

Code: 3170718 Credit: 3
Open →
GTU Study
KHUDKIBOOK
DISTRIBUTED SYSTEM 3170719
FREE PDF 3170719

Distributed System

Code: 3170719 Credit: 4
Open →
GTU Study
KHUDKIBOOK
PARALLEL AND DISTRIBUTED 3170721
FREE PDF 3170721

Parallel and Distributed Computing

Code: 3170721 Credit: 4
Open →
GTU Study
KHUDKIBOOK
BIG DATA ANALYTICS 3170722
FREE PDF 3170722

Big Data Analytics

Code: 3170722 Credit: 4
Open →
GTU Study
KHUDKIBOOK
NATURAL LANGUAGE PROCESSING 3170723
FREE PDF 3170723

Natural Language Processing

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

Machine Learning

Code: 3170724 Credit: 4
Open →
GTU Study
KHUDKIBOOK
DIGITAL FORENSICS 3170725
FREE PDF 3170725

Digital forensics

Code: 3170725 Credit: 3
Open →
GTU Study
KHUDKIBOOK
MOBILE APPLICATION DEVELOPMENT 3170726
FREE PDF 3170726

Mobile Application Development

Code: 3170726 Credit: 3
Open →
GTU Study
KHUDKIBOOK
DEEP LEARNING BE07000151
FREE PDF BE07000151

Deep Learning

Code: BE07000151 Credit: 4
Open →
GTU Study
KHUDKIBOOK
COMPUTER VISION BE07000161
FREE PDF BE07000161

Computer Vision

Code: BE07000161 Credit: 4
Open →
GTU Study
KHUDKIBOOK
CLOUD COMPUTING BE07000171
FREE PDF BE07000171

Cloud Computing

Code: BE07000171 Credit: 4
Open →
GTU Study
KHUDKIBOOK
OPTIMIZATION TECHNIQUES FOR BE07000181
FREE PDF BE07000181

Optimization Techniques for Machine Learning

Code: BE07000181 Credit: 4
Open →
GTU Study
KHUDKIBOOK
ETHICAL HACKING BE07000191
FREE PDF BE07000191

Ethical Hacking

Code: BE07000191 Credit: 3
Open →
GTU Study
KHUDKIBOOK
INDUSTRIAL 4.0 AND BE07000201
FREE PDF BE07000201

Industrial 4.0 and Industrial IOT

Code: BE07000201 Credit: 3
Open →