Reply To: Compiler Construction Ques Problem

  1. Abhishek Vijayvargia :
    there are following two possibilities

    1)
    there is some printing mistake
    in the 2nd production rule
    there should be T instead of F
    means it should be like these
    T->FT/*FT/e

    2)and if it is not the case then T becomes useless symbol n entire grammer becomes

    E->e

    and first(E)= e
    follow(E)={$}
    and grammer is LL(1)

    but most probably i think it may b the 1st case bcoz I am not sure about 2nd case bcoz in 2nd case there is no terminal symbol and grammer itself becomes useless