GATE CSE
First time here? Checkout the FAQ!
x
0 votes
102 views
why does recursive descent parser not use left recursive grammar?
asked in Compiler Design by (315 points)   | 102 views

2 Answers

+2 votes
Because Recursive Descent Parser will go into an infinite looping state on left recursive grammar.
answered by (193 points)  
+1 vote
Recursive descent parser is a top down parser. A top down parser accepts the grammers which is free from ambiguity and left recursion.
answered by (33 points)  


Top Users Aug 2017
  1. Bikram

    5034 Points

  2. ABKUNDAN

    4730 Points

  3. akash.dinkar12

    3488 Points

  4. manu00x

    3296 Points

  5. rahul sharma 5

    3178 Points

  6. makhdoom ghaya

    2530 Points

  7. just_bhavana

    2428 Points

  8. stblue

    2240 Points

  9. Tesla!

    2076 Points

  10. joshi_nitish

    1830 Points


25,032 questions
32,178 answers
74,993 comments
30,218 users