Open Yogesh7920 opened 3 years ago
Consider the following input
S ACB|CbB|Ba A da|BC B g|0 C h|0
The output is
THE GRAMMAR IS AS FOLLOWS
S = ACB|CbB|Ba A = da|BC B = g|0 C = h|0
FIRST
S = #d A = d B = g C = h
FOLLOW
S = $ A = h B = |h C = gh
This output is wrong for all the productions. E.g for S the start is {d, g, h, #, b, a}
Hey Mate, I would like to help with this issue. Can you please elaborate on the issue, so that I can get a more clear understanding. Also give some information about the code
Consider the following input
S ACB|CbB|Ba A da|BC B g|0 C h|0
The output is
THE GRAMMAR IS AS FOLLOWS
S = ACB|CbB|Ba A = da|BC B = g|0 C = h|0
FIRST
S = #d A = d B = g C = h
FOLLOW
S = $ A = h B = |h C = gh
This output is wrong for all the productions. E.g for S the start is {d, g, h, #, b, a}