0% found this document useful (0 votes)
16 views8 pages

Principle of Compiler Construction BACKUP

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)
16 views8 pages

Principle of Compiler Construction BACKUP

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/ 8

Principle of Compiler

Construction
PRACTICAL FILE

Submitted by:

Name: Yachna Saxena

Roll No.: 2022UCD2177

Branch: CSDS

Section: 1

Netaji Subhas University of Technology


Contents
Question 1. Develop simple language processors like desk calculator and assembler.......................2

Question 2. Design a small high-level language.................................................................................2

Question 3. Develop a lexical analyzer and a syntax analyzer for a simple high-level language using
the LEX and YACC tools. Also implement the bookkeeper module....................................................2

Question 4. Design a small high-level language and implement a compiler for the same. If the
target machine of the compiler is a hypothetical machine, then implement a simulator for it.........2

Question 5. Develop a simple calculator using LEX and YACC tools...................................................2

Question 6. Implement a program for symbol table using hashing...................................................2

Question 7.Implement a two-pass assembler...................................................................................2

Question 8. Implement a bottom-up parser using YACC tool............................................................2

Question 9. Represent ‘C’ language using Context Free Grammar...................................................2

Question 10. Write a program to generate the three address code for the given expression...........2

Question 1. Develop simple language processors like desk calculator


and assembler.
Question 2. Design a small high-level language.
Question 3. Develop a lexical analyzer and a syntax analyzer for a
simple high-level
language using the LEX and YACC tools. Also implement the
bookkeeper module.

Question 4. Design a small high-level language and implement a


compiler for the same. If the target machine of the compiler is a
hypothetical machine, then implement a simulator for it.

Question 5. Develop a simple calculator using LEX and YACC tools.

Question 6. Implement a program for symbol table using hashing

Question 7.Implement a two-pass assembler

Question 8. Implement a bottom-up parser using YACC tool.


Question 9. Represent ‘C’ language using Context Free Grammar

Question 10. Write a program to generate the three address code for
the given expression.

You might also like