30-06-2012, 11:59 AM
Compiler Construction
-compiler construction- ppt.ppt (Size: 208 KB / Downloads: 73)
Objectives
Be able to build a compiler for a (simplified) (programming) language
Know how to use compiler construction tools, such as generators of scanners and parsers
Be familiar with virtual machines, such as the JVM and Java bytecode
Be able to define LL(1), LR(1), and LALR(1) grammars
Be familiar with compiler analysis and optimization techniques
… learn how to work on a larger software project!
Compilers and Interpreters
Compilation”
Translation of a program written in a source language into a semantically equivalent program written in a target language
The Analysis-Synthesis Model of Compilation
There are two parts to compilation:
Analysis determines the operations implied by the source program which are recorded in a tree structure
Synthesis takes the tree structure and translates the operations therein into the target program