64 views
S$\rightarrow aS|Sa|a$

find number of conflict state in DFA with LR(1) items
| 64 views
0
2 states
0

Can you make a diagram for the canonical collection of $LR(1)$ item, please$?$

0
it is not LR(1) or LL(1)

because it is ambiguous grammar

right?
0
Yeah mam it's not LR (1) or LL (1)

that's why the conflict that arise in the state can't be resolve by any parsing

but they ask just no of conflict state arises
+1

￼￼......

0
Where is the conflict and which type of$?$
0

while seeing S in first state i made 2 different states, so please ignore that.

there are 2 SR conflicts

0
thanks

1
2
3
4
5
6