LL(8) and left-recursion

Posted by Peregring-lk on Programmers See other posts from Programmers or by Peregring-lk
Published on 2012-11-20T16:39:50Z Indexed on 2012/11/20 17:18 UTC
Read the original article Hit count: 265

Filed under:

I want to understand the relation between LL/LR grammars and the left-recursion problem (for any question I know parcially the answer, but I ask them as I don't know nothing, because I am a little confused now, and prefer complete answers) I'm happy with sintetized or short and direct answers (or just links solving it unambiguously):

  1. What type of language isn't LL(8) languages?
  2. LL(K) and LL(8) have problems with left-recursion? Or only LL(k) parsers?
  3. LALR(1) parser have troubles with left or right recursion? What type of troubles?
  4. Only in terms of the LL/LALR comparision. What is better, Bison (LALR(1)) or Boost.Spirit (LL(8))? (Let's suppose other features of them are irrelevant in this question)
  5. Why GCC use a (hand-made) LL(8) parser? Only for the "handling-error" problem?

© Programmers or respective owner

Related posts about parsing