Friday 19 June 2015

Compiler Design LAB
(3-1 CSE R13 SYLLABUS FOR 2013 ADMITTED BATCH)

Image description
III Year - I SEMESTER  
                                                                                                                              T    P    C
                                                                                                                              0     3    2                          
                                                               Compiler Design Lab    
Course Objectives:
 To enlighten the student with knowledge base in compiler design and its applications

Course Outcomes:
  Demonstrate a working understanding of the process of lexical analysis, parsing and other compiler design aspects.
Lab Experiments:  
 
1)Design a lexical analyzer for given language and the lexical analyzer should ignore redundant spaces, tabs and new lines

2)Simulate First and Follow of a Grammar.

3)Develop an operator precedence parser for a given language.

4)Construct a recursive descent parser for an expression.

5)Construct a LL(1) parser for an expression

6)Design predictive parser for the given language

7)Implementation of shift reduce parsing algorithm.

8)Design a LALR bottom up parser for the given language.

9)Implement the lexical analyzer using JLex, flex or lex or other lexical analyzer generating tools

10)Write a program to perform loop unrolling.

11)Convert the BNF rules into YACC form and write code to generate abstract syntax tree.

12)Write a program for constant propagation.






No comments:

Post a Comment