Computer Science 433
Programming Languages

Fall 2014, The College of Saint Rose

Lecture 4: Syntax Analysis; Lexical Analysis
Date: Monday, September 8, 2014

Agenda

Lecture 4 Assignment

Due at the start of class, Wednesday, September 10.

Please submit answers to these questions in Submission Box under "LA4" or in hard copy by the start of our next class. We will discuss these questions at the start of class, so no late submissions are accepted. Please be sure that your name is clearly indicated in all submissions.

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)
  2. Sebesta Problem Set 19, p. 165. (5 points)

Terminology

Examples