0% found this document useful (0 votes)
18 views

List of Experiments For CD (IT-6003) :: (Dr. Amit Chandanan)

The document lists 12 experiments related to compiler design and implementation using LEX and YACC tools. The experiments include writing programs to perform tasks like lexical analysis, parsing, calculating FIRST and FOLLOW sets, and implementing parsers and code generation. The experiments cover topics such as installing and using LEX and YACC, lexical analysis, parsing techniques like LL(1), recursive descent, shift-reduce and LR parsing, and generating intermediate code forms.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

List of Experiments For CD (IT-6003) :: (Dr. Amit Chandanan)

The document lists 12 experiments related to compiler design and implementation using LEX and YACC tools. The experiments include writing programs to perform tasks like lexical analysis, parsing, calculating FIRST and FOLLOW sets, and implementing parsers and code generation. The experiments cover topics such as installing and using LEX and YACC, lexical analysis, parsing techniques like LL(1), recursive descent, shift-reduce and LR parsing, and generating intermediate code forms.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

List of Experiments for CD(IT-6003):

1. Study of LEX tool and its installation in LINUX.

2. Write a program to identify string using lex tool.

3. Write a program to find keyword and identifiers using lex tool.

4. Write a program to count all character using lex tool.

5. Design a lexical analyzer for given language and the lexical analyzer should ignore redundant
spaces, tabs and new lines.

6. Write a program to calculate FIRST() and FOLLOW() of a Grammar.

7. Write a program to construct LL(1) parser for given language.

8. Write a program to construct a recursive descent parser for an expression.

9. Study of YACC tool and installation in Linux operating system.

10. Write a program for implementing a calculator for computing the given expression using
semantic rules of the YACC tool.

11. Write a program for implementing Shift Reduce parsing and LR parsing.

12. Write a program for generating various intermediate code forms i) Three address code ii)
Polish notation

(Dr. Amit Chandanan)

You might also like