I am confused in following kinds of Grammar they are;-
1) S - > AB
A -> Ba
B -> Bb
B - > c
2) S - > AB
A -> Ba
B -> Bb
B - > Epsilon
3) S - > AB
A -> Ba
B -> Bb
B - > dollar
what will be the I0 state of these three grammars.
In 1st what will be the look ahead of B -> Bb and B - > c are we need to consider a or a/b.
In 2n what will be the look ahead of B -> Bb and B - > c are we need to consider a or a/epsilon.
In 3rd what will be the look ahead of B -> Bb and B - > c can we consider $ as look ahead symbol.