] > Assignment 5: An LR Parser (Due: Th, May 22)

Assignment 5: An LR Parser (Due: Th, May 22)

Incorporate into your LL(1) parser an LR(1) / LALR(1) / SLR(1) subparser for expressions (i.e., production rules 20-27) to obtain a program that translates and executes any given L756 program.

your program should be provided with an L756 program whose parsing requires all the productions rules.

Note that the LR(1) / LALR(1) / SLR(1) subparser is responsible to invoke the semantic routines for expressions.