0% found this document useful (0 votes)
309 views

To Write and Execute A C Program To Implement The Lexical Analyzer

The document outlines learning objectives for a compiler design course, including writing programs to implement a lexical analyzer using lex tool, implement a recursive descent parser in C, construct a top-down parsing table, generate intermediate code using LEX and YACC, and convert intermediate code to assembly language instructions. Additional objectives involve writing YACC programs to produce a parse tree from a regular expression, recognize certain strings using context-free grammars, and implement syntax-directed definitions.

Uploaded by

iutechsoft
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
309 views

To Write and Execute A C Program To Implement The Lexical Analyzer

The document outlines learning objectives for a compiler design course, including writing programs to implement a lexical analyzer using lex tool, implement a recursive descent parser in C, construct a top-down parsing table, generate intermediate code using LEX and YACC, and convert intermediate code to assembly language instructions. Additional objectives involve writing YACC programs to produce a parse tree from a regular expression, recognize certain strings using context-free grammars, and implement syntax-directed definitions.

Uploaded by

iutechsoft
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

CSE 401 Compiler design

1
2
3

To write and execute a C program to implement the


lexical analyzer.

6
7

To implement the lexical analyzer using lex tool for a subset of C language.

8
9
1
0
1
1
1
2
1
3
1
4
1
5
1
6
1
7
1
8
1
9
2
0
2
1

To implement a recursive descent parser in a C program.


To implement a recursive descent parser in a C program.
To write a c program that implement the construction of top-down parsing
table.
To write a program in linux to generate intermediate code using LEX and YACC.
To convert the given intermediate Code into assembly language instruction using c program.

Write a yacc program that accepts a regular expression as input and


produce its parse tree as output.
Write a C program to implement the syntax-directed definition of if E
then S1 and if E then S1 else S2.
YACC program to recognize strings aaab, abbb, ab and a using the
grammar (anbn, n>= 0).

You might also like