CD LAB (COMPILER DESIGN LAB)

DCRUST SYLLABUS

CSE382C   COMPILER DESIGN LAB

CATEGORY : ENGINEERING SCIENCE COURSE

Course Objectives:

  1. To acquire knowledge in different phases and passes of Compiler.
  2. To use the Compiler tools like LEX, YACC, etc.
  3. To design different types of compiler tools to meet the requirements of the realistic constraints of compilers.
  4. To use Top-down and Bottom-up parsers. Construction of LL, SLR, CLR and LALR parse table.

List of Practicass:

  1. Practice of LEX/YACC of compiler writing.
  2. Write a program to check whether a string belong to the grammar or not.
  3. Write a program to generate a parse tree.
  4. Write a program to find leading terminals.
  5. Write a program to find trailing terminals.
  6. Write a program to compute FIRST of non-terminal.
  7. Write a program to compute FOLLOW of non-terminal.
  8. Write a program to check whether a grammar is left Recursion and remove left Recursion.
  9. Write a program to remove left factoring.
  10. Write a program to check whether a grammar is operator precedent.
  11. To show all the operations of a stack.
  12. To show various operations i.e. red, write and modify in a text file.

Course Outcomes:  After successful completion of the course, students will be able to:-

  1. Understand the concepts of Compilers
  2. Understand the concepts of The actual roles of the lexical analyzer
  3. Understand the concepts of different Parsing techniques and Construction of syntax trees
  4. Understand the concepts of Type checking
error: You can only copy the programs code and output from this website. You are not allowed to copy anything else.