Compilers

5
Compilers ANKIT JAIN 11CS10006 G3 SCRIBING CLASS DATE : 29 TH JULY 2013

description

Compilers. Ankit jain 11cs10006G3 Scribing class date : 29 TH JULY 2013. Compilers. Compilers. Analysis Front End Split source code into different constitute pieces(token). Put the pieces based on grammatical rules(Parse). Report Errors. Synthesis Back End - PowerPoint PPT Presentation

Transcript of Compilers

Page 1: Compilers

CompilersANKIT JAIN 11CS10006 G3

SCRIBING CLASS DATE : 29TH JULY 2013

Page 2: Compilers

Compilers

Page 3: Compilers

Compilers

Analysis Front End

Split source code into different constitute pieces(token).

Put the pieces based on grammatical rules(Parse).

Report Errors.

Synthesis Back End

Produce intermediate code

Optimize Intermediate code

Generate target code

Page 4: Compilers

Components of Compiler

Page 5: Compilers

Code Optimizer

Optimize the target code in terms of:

Size

reduce size of target code

Time

optimize/reduce size of target code

Power

generate code which consumes less power

Space

generate code which requires less memory