Computer Science 433
Programming Languages

Fall 2012, The College of Saint Rose

Lecture 7: Syntax and Lexical Analysis
Date: Wednesday, September 19, 2012

Agenda

Lecture Assignment 7

Due at the start of class, Monday, September 24.

Please submit answers to these questions either as a hard copy (typeset or handwritten are OK) or by email to terescoj AT strose.edu by the start of class. Please use a clear subject line when submitting by email (e.g., CSC 433 Lecture Assignment 7, Joe Student). We will discuss these questions at the start of class, so no late submissions are accepted.

The readings for next class are Sebesta Chapter 4.

  1. Write BNF for your favorite programming language's assignment statement. Include the operators +, -, *, /, %, ++, and --. (5 points)