MCA
MCA 1 SEM.
Introduction to Information Technology
Programming Based Numerical Analysis
Advanced Programming in ‘C’ Language
Data Structure with Algorithm
Digital Electronics
MCA 2 SEM.
Principles of Operating System
Object Oriented Programming with C++
Computer System Architecture
Web Technology
Discrete Mathematics
MCA 3 SEM.
Introduction to JAVA
Artificial Intelligence and Expert Systems
RDBMS
Theory of Computation
Computer Network
MCA 4 SEM.
Compiler Design
Software Engineering
Financial Accounting
Operation Research
Management Information System
MCA 5 SEM.
Soft Computing Techniques
Interactive Computer Graphics
Data Mining & Data Warehousing
Network Security
Analysis & Design of Algorithm
MCA 6 SEM.
Major Project ( Viva Voce)

Guru Ghasidas Vishwavidyalaya
Bilaspur Bilaspur Chhattisgarhhttp://www.ggu.ac.in
MCA 4 SEM.
Subject: Compiler Design

UNIT - 1 Basics of Compilers and Lexical Analysis

Compilers and Translators, Bootstrap compiler, Phases of Compiler, Compiler writing tools, Bootstrapping, Overview of one pass compiler, Finite Automation, Basics of DFA, NFA, Regular sets and Regular expressions.


UNIT - 2 Syntax analysis & Parsing techniques

Basics of context free grammars and derivation of parsetrees, Top down parsing and its implementation, Operator precedence parsing, Predicative top down parser, Bottom up parsing, Handel of right sentential form, LR parser, Canonical collection of sets, Construction of parsing action and GOTO table, Construction of LALR parsing table, Handling ambiguous grammar.


UNIT - 3 Syntax directed definition and Translation

L-attributed definition, Syntax directed translation scheme, Intermediate code generation, Representing three address statements, Syntax directed translation scheme to specify the translation of various programming language construct, Implementing increment and decrement operators, Array reference, Switch/case.


UNIT - 4 Symbol table management & Error Handling

Various approaches to symbol table organization, Representation of scope information in symbol table, Storage allocation activation of procedure and record, Static allocation and stack allocation. Error recovery, Error recovery in LR parsing, Predicative parsing error recovery.


UNIT - 5 Code Optimization and Code Generation

Introduction, Loop optimization, Eliminating induction variable, Eliminating local common sub expression, DAG, Eliminating global common sub expression, loop unrolling, loop jamming, Problems hindering code generation, Straight forward code generation, Using DAG for code generation, Peephole optimization.


Jump to Top | Home Page