FIRST set for CFG/grammar in C/C++.
input is grammar, output is shown the first set.
example input grammer :
E -> TR
R -> +T R| #
T -> F Y
Y -> *F Y | #
F -> (E) | i
Output :First(E)= { (, i, }First(R)= { +, #, }First(T)= { (, i, }First(Y)= { *, #, }First(F)= { (, i, }
Assumptions :
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here