26.12.2013 Views

Teknik Kompiler 1 - Lecturer

Teknik Kompiler 1 - Lecturer

Teknik Kompiler 1 - Lecturer

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Today: Often Two-Pass<br />

Compilers<br />

Analysis<br />

scanning<br />

parsing<br />

sem. analysis<br />

intermediate<br />

representation<br />

Synthesis<br />

code optimization & code generation<br />

language-dependent<br />

machine-dependent<br />

Java<br />

C<br />

Pascal<br />

any combination possible<br />

Pentium<br />

PowerPC<br />

SPARC<br />

Advantages<br />

• better portability<br />

• many combinations between front ends<br />

and back ends possible<br />

• optimizations are easier on the intermediate<br />

representation than on source code<br />

Disadvantages<br />

• slower<br />

• needs more memory

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!