GATE CSE
First time here? Checkout the FAQ!
x
0 votes
59 views
why does recursive descent parser not use left recursive grammar?
asked in Compiler Design by (315 points)   | 59 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)  

Related questions

Top Users Feb 2017
  1. Arjun

    4898 Points

  2. Bikram

    4102 Points

  3. Habibkhan

    3748 Points

  4. Aboveallplayer

    2986 Points

  5. sriv_shubham

    2288 Points

  6. Smriti012

    2222 Points

  7. Arnabi

    1946 Points

  8. Debashish Deka

    1920 Points

  9. mcjoshi

    1614 Points

  10. sh!va

    1462 Points

Monthly Topper: Rs. 500 gift card

20,793 questions
25,951 answers
59,557 comments
21,976 users