Back to the 2023 paper

Module 2: Syntax Analysis (Parser)

20237m

Consider the following grammar:
EE+TTE \to E + T | T
TTFFT \to T * F | F
FtdF \to td
Draw a SLR state transition diagram for the above grammar. Also draw the SLR parse table.

Similar questions