CD Flex

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

SIR CHHOTU RAM INSTITUTE OF ENGINEERING AND TECHNOLOGY

CHAUDHARY CHARAN SINGH UNIVERSITY ,MEERUT


Lex and Yacc
LEX is a program generator designed for
lexical processing of character input/output
stream. Anything from simple text search
program that looks for pattern in its input-
output file to a C compiler that transforms a
program into optimized code.

YACC (yet another compiler compiler) is a


grammar parser and parser generator. That is,
it is a program that reads a grammar
specification and generates code that is able
to organize input tokens in a syntactic tree in
accordance with the grammar.

SUBMITTED TO :- DR. GAURAV TYAGI SUBMITTED BY :- AGRIMA SHARMA, DEEPTI SINGH, SAKSHI RAI
ASSISTANCE PROFESSOR MAYANK RATHORE, PRATIK YADAV, NAVNEET SINGH
COMPUTER SCIENCE HIMANSHU RAGHAV
B.TECH 3RD YEAR, COMPILER DESIGN

You might also like