retagged by
1,699 views
1 votes
1 votes
Construct the LALR(1) sets of items for the grammar:

S’ -> S
S -> *SS | a

Then, identify, in the list below, one of the LALR(1) sets of items for

(A) [S -> a., $\$$]

(B) [S -> a., +a]

(C) [S -> *SS., $\$$ + a]

(D) [S -> *SS., $\$$]
retagged by

1 Answer

0 votes
0 votes

The possible answer is A, D.

In option C instead of + if it is * It is also possible..

Related questions

0 votes
0 votes
1 answer
1
Deepesh Pai asked Nov 28, 2018
383 views
0 votes
0 votes
2 answers
2
0 votes
0 votes
1 answer
3
1 votes
1 votes
1 answer
4