Programming Exercise 2: Parser (Updates)

 

1)      Output format for part (a) has been changed to simply

·        Parse Successful

or

·        Parse Failed at line #.

Printing error information is now optional. You will eventually have to output this information in later stages.

 

2)      Sample src code is now available on the project specification. You are invited to share your SRC3 test cases on the discussion board.

 

3)      Part (b) is now due Wednesday May 7 (11:59 pm) instead of Tuesday (11:59)

 

4)      The sample src code should have semicolons after each statement. This is currently reflected. Note that the if-then-else-end-if and the while-do-end-while constructs are also statements and therefore terminated by a semicolon too.

 

5)      Also do note that the blocks are treated as an allowable statement and should terminate in a semi-colon.

 

6)      Look at revised project specs and updated SRC3 definition. Red indicates alteration. The expression and subroutine specs were changed. Deadlines changed too.

 

7)      Handouts were given out in discussion as a hint towards developing the AST. Find scanned version in here. It is in sufficient resolution for you to zoom in, if its too small to read normally.