Back to the 2019 paper

Module 2 : Syntax Analysis (Parser)

20192m

Choose the correct answer of the following:
To convert an arbitrary CFG to an LL(1) grammar
(i) factor the grammar alone
(ii) remove left recursion alone
(iii) remove left recursion and factor the grammar
(iv) None of the above

Similar questions