To find out whether a grammar G is LL(1) or not, we test this condition among other conditions, "If whenever A -> alpha | beta are two distinct productions of G, alpha and beta can't derive string beginning with the same terminal.What should be the corresponding condition for a LL(3) grammar?

  • $\begingroup$ "beginning with the same three terminals". $\endgroup$
    – rici
    Sep 7 at 15:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.