CS362 2011F Compilers

Class 35: Translating Conditionals (1)

Back to Translating Declarations and Expressions. On to Translating Conditionals (2).

This outline is also available in PDF.

Held: Monday, 21 November 2011

Summary: We begin our exploration of the translation of if-then statements and Boolean expressions.

Related Pages:

Notes:

  • Basic Issues.

  • Translating with Strict Evaluation.

  • Translating with Short-Circuit Evaluation.

  • Short-Circuit Evaluation with Bison.

  • Basic Issues in Translating If Statements

    Translating Strict Boolean Expressions

    Translating Short-Circuit Conditionals

    Short-Circuit Evaluation in Yacc/Bison

    Back to Translating Declarations and Expressions. On to Translating Conditionals (2).

    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:36 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.35.html.

    Samuel A. Rebelsky, rebelsky@grinnell.edu