0% found this document useful (0 votes)
314 views4 pages

Compiler Design Lab: IT III Year B.Tech - IT II-Sem (R18) (2021-2022)

This document is a laboratory manual for the Compiler Design lab course for IT third year students at Malla Reddy Engineering College. The objectives of the lab are to provide hands-on experience with compiler design topics like phases of compiler design, top-down and bottom-up parsers, syntax directed translation schemes, and using lex and yacc tools. The lab manual outlines 5 experiments covering writing a LEX program to scan C language tokens, implementing predictive and SLR parsing algorithms, generating three address code, and designing an LALR bottom up parser.

Uploaded by

chintu
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)
314 views4 pages

Compiler Design Lab: IT III Year B.Tech - IT II-Sem (R18) (2021-2022)

This document is a laboratory manual for the Compiler Design lab course for IT third year students at Malla Reddy Engineering College. The objectives of the lab are to provide hands-on experience with compiler design topics like phases of compiler design, top-down and bottom-up parsers, syntax directed translation schemes, and using lex and yacc tools. The lab manual outlines 5 experiments covering writing a LEX program to scan C language tokens, implementing predictive and SLR parsing algorithms, generating three address code, and designing an LALR bottom up parser.

Uploaded by

chintu
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/ 4

COMPILER DESIGN LAB

LABORATORY MANUAL

IT III Year B.Tech.IT II-Sem(R18)


(2021-2022)

( COMMON TO CSE,IT, CSE(AI&ML), CSE(DS) )

MALLA REDDY ENGINEERING COLLEGE & MANAGEMENT SCIENCES


(Approved by AICTE New Delhi & Affiliated to JNTUH, Kistapur(V), Medchal(M),
Medchal-Malkajgiri Dist. - 501401
Objectives:

 To provide hands-on experience on web technologies


 To develop client-server application using web technologies
 To introduce server-side programming with Java servlets and JSP
 To understand the various phases in the design of a compiler.
 To understand the design of top-down and bottom-up parsers.
 To understand syntax directed translation schemes.
 To introduce lex and yacc tools.

Outcomes:

 For the complete Syllabus, results, class timetable, and many other features kindly download the 
LIST OF EXPERIMENTS

S.NO NAME OF THE EXPERMENTS PAGE NO


Write a LEX Program to scan reserved word and Identifiers of C
1 Language 4

2 Implement Predictive Parsing algorithm


5
3 Write a C program to generate three address code.
10
4 Implement SLR(1) Parsing algorithm
14
5 Design LALR bottom up parser for the given language
22

You might also like