Multiple choice

Consider the grammar with non-terminals N = { S, C, S1), terminals T = {a, b, i, t, e}, with S as the start symbol, and the following set of rules:

S $\rightarrow$iCtSS1 | a S1 $\rightarrow$ eS |$\epsilon$ C $\rightarrow$ b

The grammar is NOT LL(1) because:

  1. it is left recursive

  2. it is right recursive

  3. it is ambiguous

  4. it is not context-free.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation