Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Assignment complier design (GROUP1)
1. TOPICS:COMPILERDESIGN
Iliasahmed
BSC IN CSE ON PUB(7TH
SEMISTER)
ORACLE OCP
JAVA CERTIFIED,RHCE
Group 1:
Compilers
Analysis of source program
The phase of compilers.
Group 2:
Syntax definition
Parsing
Symbol Table
Lexical Analysis
Group 3:
Specification of Tokens
The role of Lexical Analysis
Recognition of Tokens
Group 4: Top down parsing
Bottom up parsing
Syntax Analysis
Group 5: Intermediatecode generation
2. Code optimization
Group one soluation:
1what doescompilermean?
A compiler is a software program that transforms high-level source code that is written
by a developer in a high-level programming language into a low level object code
(binary code) in machine language, which can be understood by the processor. The
process of converting high-level programming into machine language is known as
compilation.
The processor executes object code, which indicates when binary high and low signals
are required in the arithmetic logic unit of the processor.
2.Why we use compiler?
A compiler is a special program that processes statements written in a particular programming
language and turns them into machine language or "code" that a computer's processor uses.
Typically, a programmer writes language statements in a language such as Pascal or C one line
at a time using an editor.
3.how compiler works?
A compiler is a program that translates the source code for another program from a programing
language into executable code. ... In short, acompiler converts a program from a human-
readable format into a machine-readable format. As to how acompiler works, that is indeed
complicated.
4.what is the type compiler?
four main type of compilers;
single pass compilers, multi pass compilers, cross compilers and optimizing compilers.
5.Analysis of source program:
Ans: http://www.brainkart.com/article/Analysis-of-the-source-program_8069/