Professional Documents
Culture Documents
November 2016
Bottom Up Parsing
Code Generation
Code Genration
Code Generation
There
are
several
different
ways
of
approaching the design of the code generation
phase.
The difference between these approaches is
generally characterized by the number of
passes which are made over the input file
A code generator which scans a file of atoms
once is called a single pass code generator
A code generator which scans it more than
once is called a multiple pass code
generator
Code Optimization
Code Optimization
Global Optimization
Global Optimization
Local Optimization
If the compiler
expression
is
given
the
following
Local Optimization
Local Optimization
End