234x Filetype PDF File size 1.10 MB Source: www.amirajcollege.in
LABORATORY MANUAL
COMPILER DESIGN
SUBJECT CODE: 2170701
COMPUTER SCIENCE & ENGINEERING
DEPARTMENT
th
B.E. 7 SEMESTER
NAME:
ENROLLMENTNO:
BATCHNO:
YEAR:
Amiraj College of Engineering and Technology,
Nr.Tata Nano Plant, Khoraj, Sanand, Ahmedabad.
Amiraj College of Engineering and Technology,
Nr.Tata Nano Plant, Khoraj, Sanand, Ahmedabad.
CERTIFICATE
This is to certify that Mr. / Ms. ______________________________________________
Of class____________________ Enrolment No ___________________________has
Satisfactorily completed the course in ____________________________________as
by the Gujarat Technological University for ____ Year (B.E.) semester___of
Computer Science & Engineering in the Academic year ______.
Date of Submission:-
Faculty Name and Signature Head of Department
(Prof. Rupali Patel) (CSE)
COMPUTER SCIENCE & ENGINEERING
DEPARTMENT
th
B.E. 7 SEMESTER
SUBJECT: COMPILER DESIGN
SUBJECT CODE: 2170701
List Of Practicals
Sr.
Date of
Title Sign Remark
submission
No.
Implement a Program for simple lexical
1
analyzer using C language.
Write a program to create Symbol Table for
2
the given input file.
Write a program to implement recursive
decent parser for the following grammar.
expr -> term + expr / term
3
term -> factor * term / factor
factor -> expr / id
Write a C program to test whether a given
4
identifier is valid or not.
To Study about Lexical Analyzer Generator
5 (LEX) and Fast Lexical Analyzer Generator
(FLEX).
Write a C program to find first and follow for
6
the given grammar.
3|P a g e
Write a C program for implementing the
7 functionalities of predictive parser for the mini
language.
Write a CPP program for constructing of LL
8
(1) parsing.
To Study about Yet Another Compiler-
9
Compiler (YACC).
4|P a g e
no reviews yet
Please Login to review.