Compilers (CS362 2002F)

Class 28: Translating Declarations and Expressions

Back to Symbol Tables, Continued. On to Translating Conditionals.

Held Friday, November 8, 2002


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.



Translating Assignment

Complicating Factors

Translating Basic Expressions

Example: Adding two Expressions

Example: Translating a Variable Experession

Example: Translating a Constant Expression




Thursday, 29 August 2002 [Samuel A. Rebelsky]

Friday, 8 November 2002 [Samuel A. Rebelsky]


Back to Symbol Tables, Continued. On to Translating Conditionals.

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 Fri Dec 6 10:38:28 2002.
The source to the document was last modified on Fri Nov 8 10:37:03 2002.
This document may be found at

You may wish to validate this document's HTML ; Valid CSS! ; Check with Bobby

Glimmer Labs: The Grinnell Laboratory for Interactive Multimedia Experimentation & Research