Uncategorized

Anna University B.Tech IT (R13) 6th Sem Compiler Laboratory Detailed Syllabus

Compiler Laboratory Syllabus for B.Tech 6th sem is covered here. This gives the details about credits, number of hours and other details along with reference books for the course.

The detailed syllabus for Compiler Laboratory B.Tech (R13) sixthsem is as follows

OBJECTIVES: The student should be made to:

  • Be exposed to compiler writing tools.
  • Learn to implement the different Phases of compiler
  • Be familiar with control flow and data flow analysis
  • Learn simple optimization techniques

LIST OF EXPERIMENTS:

  • Implementation of Symbol Table
  • Develop a lexical analyzer to recognize a few patterns in C. (Ex. identifiers, constants, comments, operators etc.)
  • Implementation of Lexical Analyzer using Lex Tool
  • Generate YACC specification for a few syntactic categories.
  • a) Program to recognize a valid arithmetic expression that usesoperator +, – , * and /.
    b) Program to recognize a valid variable which starts with a letterfollowed by any number of letters or digits.
    c)Implementation of Calculator using LEX and YACC
  • Convert the BNF rules into Yacc form and write code to generate Abstract Syntax Tree.
  • Implement type checking
  • Implement control flow analysis and Data flow Analysis
  • Implement any one storage allocation strategies(Heap,Stack,Static)
  • Construction of DAG
  • Implement the back end of the compiler which takes the three address code and produces the 8086 assembly language instructions that can be assembled and run using a 8086 assembler. The target assembly instructions can be simple move, add, sub, jump. Also simple addressing modes are used.
  • Implementation of Simple Code Optimization Techniques (Constant Folding., etc.)

[TOTAL: 45 PERIODS]

Download iStudy Android App for complete Anna University syllabus, results, timetables and all other updates. There are no ads and no pdfs and will make your life way easier.

OUTCOMES: At the end of the course, the student should be able to

  • Implement the different Phases of compiler using tools
  • Analyze the control flow and data flow of a typical program
  • Optimize a given program
  • Generate an assembly language program equivalent to a source language program
  • LIST OF EQUIPMENT FOR A BATCH OF 30 STUDENTS: Standalone desktops with C / C++ compiler and Compiler writing tools 30 Nos.
    (or)
    Server with C / C++ compiler and Compiler writing tools supporting 30 terminals or more. LEX and YACC

For all other B.Tech IT 6th sem syllabus go to Anna University B.Tech Information Technology (IT) 6th Sem Course Structure for (R13) Batch. All details and yearly new syllabus will be updated here time to time.

Do share with friends and in case of questions please feel free drop a comment.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.