Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
15 views1 page

Programs List

The document outlines the development of a lexical analyzer using the LEX tool to recognize patterns in C programming, including identifiers, constants, and comments, while creating a symbol table. It also details the implementation of YACC specifications for recognizing arithmetic expressions, valid variable syntax, control structures, and includes a calculator implementation. Additionally, it mentions generating three address code for a simple program and implementing type checking with LEX and YACC.

Uploaded by

vijayalakshmis
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)
15 views1 page

Programs List

The document outlines the development of a lexical analyzer using the LEX tool to recognize patterns in C programming, including identifiers, constants, and comments, while creating a symbol table. It also details the implementation of YACC specifications for recognizing arithmetic expressions, valid variable syntax, control structures, and includes a calculator implementation. Additionally, it mentions generating three address code for a simple program and implementing type checking with LEX and YACC.

Uploaded by

vijayalakshmis
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/ 1

1.

Using the LEX tool, Develop a lexical analyzer to recognize


a few patterns in C. (Ex. identifiers, constants, comments,
operators etc.). Create a symbol table, while recognizing
identifiers.

2. Implement a Lexical Analyzer using LEX Tool

3. Generate YACC specification for a few syntactic


categories.

a. Program to recognize a valid arithmetic expression that uses


operator +, -, * and /.
b. Program to recognize a valid variable which starts with a
letter followed by any number of letters or digits.
c. Program to recognize a valid control structures syntax of C
language (For loop, while loop, if-else, if-else-if, switch-case,
etc.).
d. Implementation of calculator using LEX and YACC.

4. Generate three address code for a simple program using


LEX and YACC
5. Implement type checking using Lex and Yacc.

You might also like