Which of the following is TRUE for the grammar given below?
S → (L)/a
L → L,S/S
1
The grammar can be parsed by LL(1) and LR(0) parser
2
The grammar can be parsed by LR(0) and SLR(1) parser
3
The grammar can be parsed by LR(0) parser only
4
The grammar can be parsed by LL(1) parser only