A compiler is a computer program (or a set of programs) that transforms source code written in a programming language (the source language) into another computer language (the target language), with the latter often having a binary form known as object code. The most common reason for converting source code is to create an executable program.
Name of Practicals
Software and Hardware required
Simulation of a Finite state Automata to recognize the tokens of various control statements.
Simulation of a Finite state machine to distinguish among Integers, Real Numbers & Numbers with Exponents.
Program in LEX tool to recognize the tokens and to return the token found for a C like Language
Parsing of arithmetic and algebraic expressions and equations.
Use of YACC tool to parse the statements of C like Language.