CSE401 Assignment 3

Assigned: Wednesday 10/11/00

Readings (in the Dragon Book)
Read before the lecture on the specified day

10/13/00 Friday Section 4.9
10/16/00 Monday Section 7.6

 

NOTE WELL:
YOU CAN DO THE PROJECT PART IN PAIRS, BUT THE
ASSIGNMENTS FROM THE BOOK, ETC., MUST BE DONE ON YOUR OWN.

Assignment/Project

10/16/00 Monday Exercises 4.1abe, 4.2, 4.3ac, 4.4bcd (for part d use the following bug fix: the sentence should be "a|b*a"), 4.11a
  Extend the EBNF description of the PL/0 lexical structure to include the new language features, and hand in your revised description.  Here is the EBNF for the original PL/0.  This does not require changing the compiler itself (but it is considered part of the project, and thus can be done in pairs).

On Monday 10/16 we will announce the EBNF for the extended language, which all of you are required to use.  This is a huge aid to us in testing, and it's also beneficial to you since we will ensure that it meets specific grammar properties.  If you modify the code base before this is distributed, you will certainly have to make some changes.