Book Details

Compiler Design

Compiler Design

Published by uLektz

Course Code:10IS662

Author:uLektz

University: Visvesvaraya Technological University, Karnataka (VTU)

Regulation:2010

Categories:Information Technology

Format : ico_bookePUB3 (DRM Protected)

Type :eBook

Rs.413 Rs.207 Rs.50% off

Preview Buy Now

Description :Compiler Design Compiler Design of 10IS662 for Visvesvaraya Technological University, Karnataka (VTU), 2010 Author: uLektz, Published by uLektz. It is an eBook of ePUB (DRM Protected). No physical or print copy will be shipped. This eBook can accessed via uLektz Platform.

Note : No printed book. Only ebook. Access eBook using uLektz apps for Android, iOS and Windows Desktop PC.

Topics
UNIT - I INTRODUCTION, LEXICAL ANALYSIS

1.1 Introduction: Language processors; The structure of a Compiler; The evolution of programming languages; The science of building a Compiler; Applications of compiler technology; Programming language basics

1.2 Lexical analysis: The Role of Lexical Analyzer; Input Buffering; Specifications of Tokens; Recognition of Tokens

UNIT - II SYNTAX ANALYSIS - 1

2.1 Syntax Analysis – 1: Introduction; Context-free Grammars; Writing a Grammar

2.2 Top-down Parsing; Bottom-up Parsing

UNIT - III SYNTAX ANALYSIS - 2

3.1 Syntax Analysis – 2: Top-down Parsing

3.2 Bottom-up Parsing

UNIT - IV SYNTAX ANALYSIS - 3

4.1 Syntax Analysis – 3: Introduction to LR Parsing: Simple LR

4.2 More powerful LR parsers (excluding Efficient construction and compaction of parsing tables); Using ambiguous grammars; Parser Generators

UNIT - V SYNTAX-DIRECTED TRANSLATION

5.1 Syntax-Directed Translation: Syntax-directed definitions; Evaluation orders for SDDs; Applications of syntax-directed translation; Syntax-directed translation schemes

UNIT - VI INTERMEDIATE CODE GENERATION

6.1 Intermediate Code Generation: Variants of syntax trees; Three-address code; Translation of expressions; Control flow

6.2 Back patching; Switch statements; Procedure calls

UNIT - VII RUN-TIME ENVIRONMENTS

7.1 Run-Time Environments : Storage Organization; Stack allocation of space; Access to non-local data on the stack; Heap management

7.2 Introduction to garbage collection

UNIT - VIII CODE GENERATION

8.1 Code Generation: Issues in the design of Code Generator; The Target Language; Addresses in the target code; Basic blocks and Flow graphs; Optimization of basic blocks

8.2 A Simple Code Generator

loading