If you attend class on
9/16,
you will have a chance to do this
assignment in-class for the
C8 grade
Assume an LL(1) parser with the following selector table:
( | ) | { | } | |
S | ( S ) | ) | { | } |
has the following syntax stack:
S |
) |
) |
and has a ( as the lookahead token.
Draw the configuration of the parser after it processes the tokens
( )
i.e. run the parser until the lookahead token has advanced twice.
If the parser fails before consuming all tokens, indicate its configuration at the point it fails.