Science, asked by adeelaalinice, 11 months ago

For the grammar given below:



B’ ® B

B ® xB | yB | y



FIRST(B) = {x,y}

FIRST(xB) = {x}

FIRST(yB) = {y}

FIRST(y) = {y}



Construct the following:





The canonical collection of LR(1) items
The LR(1) parse table

Answers

Answered by subhansudey
0

Answer:

gdgdgdgdgdgdgdgdgdgdgdgdgdgdgdgdgdgdgdgdgdgdgdgdgd

Similar questions