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

Construct the canonical collection of LR(0) items.

Similar questions