B.E. Computer Science and Engineering VII Semester
List of Experiments:
CS701 Compiler Design
Rgpv / rgtu COMPILER DESIGN, lab assignment, tutorials, subject notesList of Experiments:
CS701 Compiler Design
- Develop a lexical analyzer to recognise a few patterns in PASCAL and C. (ex: identifiers, constants, comments, operators etc.)
- Write a programme to parse using Brute force technique of Topdown parsing.
- Develop on LL (1) parser (Construct parse table also).
- Develop an operator precedence parser (Construct parse table also)
- Develop a recursive descent parser
- Write a program for generating for various intermediate code forms i) Three address code ii) Polish notation
- Write a program to simulate Heap storage allocation strategy
- Generate Lexical analyzer using LEX
- Generate YACC specification for a few syntactic categories.
- Given any intermediate code form implement code optimization techniques.
References:
- Aho-Ullman, Principles of compiler Design, Narosa Publishing House.
- Aho-Ullman, Compilers: Principles Techniques & Tools, Addison Wesley.
- Dhamdhere, Compiler Construction.
ConversionConversion EmoticonEmoticon