edited by
409 views
2 votes
2 votes
S $\rightarrow A$
A $\rightarrow AB/$$\epsilon$
B $\rightarrow aB/b$

is this grammar LALR(1) ?
edited by

1 Answer

Related questions

2 votes
2 votes
2 answers
1
Subhrangsu asked Apr 16, 2022
9,239 views
Is the following grammar LL(1) ?S→ aABbCD | ϵA→ ASd | ϵB→ Sac| hC | ϵC→ Sf |CgD→ aBD | ϵDraw the LL(1) parsing table for the given grammar.
1 votes
1 votes
1 answer
2
4 votes
4 votes
1 answer
4
Kapil asked Dec 27, 2016
19,622 views
Consider a Grammar G as follows :$S\rightarrow W$$W \rightarrow ZXY / XY$$Y\rightarrow c/\epsilon$$Z\rightarrow a/d$$X\rightarrow Xb/\epsilon$Draw the LL(1) parsing table...