Yasir Explains/Compiler Design/Intermediate Code Generation
Compiler Design

Intermediate Code Generation

Compiler Design

Intermediate Code Generation

Bridge the front end and the back end. First see the run-time environment a program needs — activation trees, the control stack, run-time storage organization, and the static/stack/heap allocation strategies. Then learn the intermediate representations a compiler emits: three-address code and its quadruple, triple, and indirect-triple implementations, plus Polish (postfix/prefix) notation.

Topics

Run-Time Environment

Activation Tree

Control Stack

Run-Time Storage Organization

Storage Allocation Strategies

Intermediate Languages

Three-Address Statements

Quadruples

Triples

Indirect Triples

Polish Notation