SRM INSTITUTE OF SCIENCE & TECHNOLOGY DELHI-NCR CAMPUS, MODINAGAR DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING LAB RECORD FILE Name : Twinkle Chhabra Registration No : RA1911003030171 Degree B.Tech. CSE : Semester/Section : 6th & G Subject code : 18CSC304J Title : COMPILER DESIGN Faculty : Ms. Jaya Sharma Academic year 2021 - 2022 SRM INSTITUTE OF SCIENCE & TECHNOLOGY, DELHI-NCR CAMPUS, MODINAGAR, GHAZIABAD, U.P – 201204 REGISTRATION NO:- RA1911003030171 BONAFIDE CERTIFICATE This is to certify that Lab Report of COMPILER DESIGN Laboratory (18CSC304J) which is submitted by TWINKLE CHHABRA in fulfilment of the requirement for the award of degree of B. Tech. in Department of Computer Science & Engineering of SRM Institute of Science & Technology, Delhi-NCR Campus, Modinagar, is a record of the candidate own work carried out by him under my supervision during the academic year 2021-2022. HEAD OF DEPARTMENT LAB IN-CHARGE Dr. R.P. Mahapatra Head of Department Computer Science & Engg. Ms. Jaya Sharma Assistant Professor Computer Science & Engg. Submitted for the university examination held on _______________________ EXTERNAL EXAMINER INTERNAL EXAMINER INDEX EXP. NO. TITLE OF EXPERIMENT DATE PAGE NO. 1 Implementation of Lexical Analyzer 12-01-2022 4-6 2 Regular Expression to NFA 19-01-2022 7-9 3 RE to NFA to DFA 24-01-2022 10-10 4 Computation of FIRST in a grammar 02-02-2022 11-14 5 Computation of FOLLOW in a grammar 16-02-2022 15-17 6 Computation of Predictive Parsing 23-02-2022 18-20 7 Computation of Shift Reduce Parsing 02-03-2022 21-26 8 Program for finding the leading and trailing. 09-03-2022 27-31 16-03-2022 32-33 23-03-2022 34-37 08-04-2022 38-40 25-04-2022 41-43 25-04-2022 44-45 25-04-2022 46-47 9 10 11 12 13 14 Implementation of 3-Address Code using Quadruple Intermediate Code Generation PL/Intermediate code generation - Postfix expression Intermediate code generation - Prefix Expression Construction of DAG Recursive Descent Parsing Signature