Assignment 2 (2%)

Give a BNF grammar for PL (see first lecture), denoting which non-terminals should be lexical tokens and which ones have to be handled by the parser.

You do not need to cover the aspects that are not readily handled by a context-free grammar (in particular, the restrictions on labels and gotos). Please email your solutions in some readable format (plain text or PDF are fine) to Yi Gao>, .


Stephan Schulz,schulz@cs.miami.edu, Thu Aug 22 13:35:31 EDT 2002