Check the link for explaination :- https://gateoverflow.in/68764/bottom-up-parsing
$S\rightarrow 01$
$S\rightarrow 0S1\rightarrow 0011$
$S\rightarrow 0S1\rightarrow 00S11$
Set of Viable Prefix $V = \left \{ \epsilon ,0,1,01,0S,0S1,00,001,00S,00S1 \right \}$
I am not getting one thing..According to the link u given..can't we write like this:
S->0S1-->00S11-->000111{Bold one's are handle}
{VIABLE PREFIX--> epsilon,0,0S,0S1,00,00S,00S1,00S11,000,0001,00011,000111}
What is wrong in this??
@Lucky.
See here
@Kapil sir i dont think 1 would be viable prefix
64.3k questions
77.9k answers
244k comments
80.0k users