Back to the 2024 paper

Module 2 : Syntax Analysis (Parser)

20244m

Consider the following grammar:
EE+TTE \rightarrow E + T | T
TTFFT \rightarrow T * F | F
F(E)idF \rightarrow (E) | id

Build the SLR(1) parsing table using the above items.

Similar questions