Free AKTU notes, question banks, previous year papers & syllabus — new material added regularly. Browse free resources
Cover of AKTU Compiler Design (BCS502) Syllabus PDF – B.Tech 3rd Year
FREE

AKTU Compiler Design (BCS502) Syllabus PDF – B.Tech 3rd Year

Compiler Design BCS502

All syllabus, notes, question bank & PYQ for this subject

  • English
  • Semester 5
  • 0 downloads
  • 0 views
Official AKTU syllabus of Compiler Design (BCS502) for B.Tech 3rd Year. Read the unit-wise course content, course outcomes, evaluation pattern and recommended books online, or download the PDF.

Syllabus — Compiler Design

Download PDF

BCS502

Course Outcomes

At the end of course , the student will be able to:

CO 1Acquire knowledge of different phases and passes of the compiler and able to use the compiler tools like LEX, YACC, etc. Students will also be able to design different types of compiler tools to meet the requirements of the realistic constraints of compilers.K , K 3 6
CO 2Understand the parser and its types i.e. Top-Down and Bottom-up parsers and construction of LL, SLR, CLR, and LALR parsing table.K , K 2 6
CO 3Implement the compiler using syntax-directed translation method and get knowledge about the synthesized and inherited attributes.K , K 4 5
CO 4Acquire knowledge about run time data structure like symbol table organization and different techniques used in that.K , K 2 3
CO 5Understand the target machine’s run time environment, its instruction set for code generation and techniques used for code optimization.K , K 2 4

Course Content

L-T-P: 3-0-0

UnitTopicProposed Lecture
IIntroduction to Compiler: Phases and passes, Bootstrapping, Finite state machines and regular expressions and their applications to lexical analysis, Optimization of DFA-Based Pattern Matchers implementation of lexical analyzers, lexical-analyzer generator, LEX compiler, Formal grammars and their application to syntax analysis, BNF notation, ambiguity, YACC. The syntactic specification of programming languages: Context free grammars, derivation and parse trees, capabilities of CFG.08
IIBasic Parsing Techniques: Parsers, Shift reduce parsing, operator precedence parsing, top down parsing, predictive parsers Automatic Construction of efficient Parsers: LR parsers, the canonical Collection of LR(0) items, constructing SLR parsing tables, constructing Canonical LR parsing tables, Constructing LALR parsing tables, using ambiguous grammars, an automatic parser generator, implementation of LR parsing tables.08
IIISyntax-directed Translation: Syntax-directed Translation schemes, Implementation of Syntax-directed Translators, Intermediate code, postfix notation, Parse trees & syntax trees, three address code, quadruple & triples, translation of assignment statements, Boolean expressions, statements that alter the flow of control, postfix translation, translation with a top down parser. More about translation: Array references in arithmetic expressions, procedures call, declarations and case statements.08
IVSymbol Tables: Data structure for symbols tables, representing scope information. Run-Time Administration: Implementation of simple stack allocation scheme, storage allocation in block structured language. Error Detection & Recovery: Lexical Phase errors, syntactic phase errors semantic errors.08
VCode Generation: Design Issues, the Target Language. Addresses in the Target Code, Basic Blocks and Flow Graphs, Optimization of Basic Blocks, Code Generator. Code optimization: Machine-Independent Optimizations, Loop optimization, DAG representation of basic blocks, value numbers and algebraic laws, Global Data-Flow analysis.08

Text Books

  1. K. Muneeswaran,CompilerDesign,FirstEdition,Oxford University Press.
  2. J.P. Bennet, “Introduction to Compiler Techniques”, Second Edition, Tata McGraw-Hill,2003.
  3. HenkAlblas and Albert Nymeyer, “Practice and Principles of Compiler Building with C”, PHI, 2001.
  4. Aho, Sethi& Ullman, "Compilers: Principles, Techniques and Tools”, Pearson Education
  5. V Raghvan, “ Principles of Compiler Design”, TMH
  6. Kenneth Louden,” Compiler Construction”, Cengage Learning.
  7. Charles Fischer and Ricard LeBlanc,” Crafting a Compiler with C”, Pearson Education

Ratings & Reviews

No reviews yet — share your experience with this item.

Write a review

CAPTCHA — solve the equation shown

Reviews are checked by our team before appearing publicly.