CS362 2011F Compilers

Class 34: Translating Declarations and Expressions

Back to A Simple Three-Address Code Representation. On to Translating Conditionals (1).

This outline is also available in PDF.

Held: Friday, 18 November 2011

Summary: Today we begin our serious consideration of the back end. In particular, we begin our consideration of the techniques used to translate expressions and assignment statements.

Related Pages:

Notes:

Overview:

Translating Assignment

Complicating Factors

Translating Basic Expressions

Translating Addition

Translating a Variable Expression

Translating a Constant Expression

Reflection

Translating Array Expressions

Back to A Simple Three-Address Code Representation. On to Translating Conditionals (1).

Disclaimer: I usually create these pages on the fly, which means that I rarely proofread them and they may contain bad grammar and incorrect details. It also means that I tend to update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.

This document was generated by Siteweaver on Wed Dec 7 10:26:35 2011.
The source to the document was last modified on Fri Aug 26 13:03:12 2011.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS362/2011F/Outlines/outline.34.html.

Samuel A. Rebelsky, rebelsky@grinnell.edu