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

Compiler Lab Manual

This document provides information about the Compiler Design lab including the list of practical exercises to be completed, hardware and software requirements for the lab, and references for further study. Students will implement programs for regular expressions, NFA conversion, shift-reduce parsing, recursive descent parsing, FIRST/FOLLOW sets, parser tables, lexical analysis, and a case study of lex and yacc tools. The lab will use a PIV PC with 256MB RAM, 40GB HDD, running Windows XP.

Uploaded by

ishash1005165
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views

Compiler Lab Manual

This document provides information about the Compiler Design lab including the list of practical exercises to be completed, hardware and software requirements for the lab, and references for further study. Students will implement programs for regular expressions, NFA conversion, shift-reduce parsing, recursive descent parsing, FIRST/FOLLOW sets, parser tables, lexical analysis, and a case study of lex and yacc tools. The lab will use a PIV PC with 256MB RAM, 40GB HDD, running Windows XP.

Uploaded by

ishash1005165
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 8

INDEX

1. Syllabus 2. Hardware/Software Requirement


3. Practical conducted in the lab

4. Student list 5. References

Compiler Design Lab Lab Manual

Submitted By POOJA DABAS

CSE-407-E L T P - - 3

COMPILER DESIGN LAB 1. Write a program to check whether the given string is valid or not for a particular regular expression.. 2..Write a program to convert regular expression into NFA. 3.. Write a program for shift reduce parsing. 4.. Write a program to implement a recursive decent parser. 5..WAP to compute FIRSTS of non terminals. 6..WAP to compute FOLLOWS of non terminals. 7..WAP to construct a predictive parser table using c 8..Write a program to design a lexical analyzer using c. 9..Case study of lex and yacc tools.

Hardware and software requirements Hardware Requirements: Processsor: Pentium I RAM: 128MB Hard Disk 40 GB Floppy Drive 1.44MB Software Requirements:

Language:

C/C++

System Configuration on which lab is conducted Processor: RAM HDD FDD Monitor Keyboard Operating System Mouse PIV (1.8Ghz) 256MB 40GB 1.44MB 14Color Multimedia Windows XP Scroll

REFERENCES

1) Principles of Compiler Design By Ullman & AHO, Narosa Publication 2)Compilers Principles, Techniques & Tools by AlfreadV.AHO, Ravi Sethi & J. D. Ullman. 3) Compiler Design by O. G. Kakde, 1995, Laxmi Publ.

4) Theory and practice of compiler writing, Trembley and Sorenson, 1985, Mc. GrawHill. 5) System Software by Dhamdar, 1986, MGH

You might also like