0% found this document useful (0 votes)
3 views11 pages

Compiler Practical File

The document is a practical file for Compiler Design Lab (KCS-552) containing an index of 10 practical exercises, each with objectives and expected outputs. Each practical focuses on different aspects of compiler design, such as recognizing strings, validating identifiers, and implementing parsers. The file outlines the structure for documenting code and results for each practical exercise.

Uploaded by

hindihelptips2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views11 pages

Compiler Practical File

The document is a practical file for Compiler Design Lab (KCS-552) containing an index of 10 practical exercises, each with objectives and expected outputs. Each practical focuses on different aspects of compiler design, such as recognizing strings, validating identifiers, and implementing parsers. The file outlines the structure for documenting code and results for each practical exercise.

Uploaded by

hindihelptips2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Compiler Design Lab (KCS-552) - Practical File

Index

S. No Practical Name Page Remarks

1 Recognize string under a*, a*b+, abb 1

2 Lex program to check if input is verb 2

3 Check if input identifier is valid 3

4 Count number of characters and lines 4

5 YACC program for simple calculator 5

6 YACC program for IF-THEN-ELSE statement 6

7 YACC program for FOR loop 7

8 Recursive descent parser 8

9 Design LALR Bottom-up Parser 9

10 Convert NFA to DFA 10

Page 1
Practical 1

Program No: 1

OBJECTIVE:

This is the detailed explanation and code for practical number 1.

[Write the actual code and explanation here for Practical 1]

OUTPUT:

[Write expected output for Practical 1]

Page 2
Practical 2

Program No: 2

OBJECTIVE:

This is the detailed explanation and code for practical number 2.

[Write the actual code and explanation here for Practical 2]

OUTPUT:

[Write expected output for Practical 2]

Page 3
Practical 3

Program No: 3

OBJECTIVE:

This is the detailed explanation and code for practical number 3.

[Write the actual code and explanation here for Practical 3]

OUTPUT:

[Write expected output for Practical 3]

Page 4
Practical 4

Program No: 4

OBJECTIVE:

This is the detailed explanation and code for practical number 4.

[Write the actual code and explanation here for Practical 4]

OUTPUT:

[Write expected output for Practical 4]

Page 5
Practical 5

Program No: 5

OBJECTIVE:

This is the detailed explanation and code for practical number 5.

[Write the actual code and explanation here for Practical 5]

OUTPUT:

[Write expected output for Practical 5]

Page 6
Practical 6

Program No: 6

OBJECTIVE:

This is the detailed explanation and code for practical number 6.

[Write the actual code and explanation here for Practical 6]

OUTPUT:

[Write expected output for Practical 6]

Page 7
Practical 7

Program No: 7

OBJECTIVE:

This is the detailed explanation and code for practical number 7.

[Write the actual code and explanation here for Practical 7]

OUTPUT:

[Write expected output for Practical 7]

Page 8
Practical 8

Program No: 8

OBJECTIVE:

This is the detailed explanation and code for practical number 8.

[Write the actual code and explanation here for Practical 8]

OUTPUT:

[Write expected output for Practical 8]

Page 9
Practical 9

Program No: 9

OBJECTIVE:

This is the detailed explanation and code for practical number 9.

[Write the actual code and explanation here for Practical 9]

OUTPUT:

[Write expected output for Practical 9]

Page 10
Practical 10

Program No: 10

OBJECTIVE:

This is the detailed explanation and code for practical number 10.

[Write the actual code and explanation here for Practical 10]

OUTPUT:

[Write expected output for Practical 10]

Page 11

You might also like