hopefully soone can help me with this lol , this grammar im looking at is kinda tricy and i feel like theres something im missing. im trying to find the first and follow of the below grammar
S -> [] | [S] | SS
For the first I got:
First(S) = [
and
follow(S) = $,[
something doesnt feel right , like i know theres something with the last production (SS) that im missing.