SYNTAX ANALYSIS
ROLE OF THE PARSER
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which of the following suffices to convert an arbitrary CFG to an LL(1) grammar?
|
Removing left recursion alone
|
|
Factoring the grammar alone
|
|
Removing left recursion and factoring the grammar
|
|
None of the above
|
Explanation:
Detailed explanation-1: -Make grammar deterministic by Left factoring (In case occur) To convert CFG to LL(1), which is top down parser.
There is 1 question to complete.