16.4 LL(k) PARSING
As we saw earlier in Section 7.4, not all context-free grammars are LL(1), and some context-free grammars are not LL(k) for any k. We can build the LL(1) Parse Table for any context-free grammar. However, if there is a conflict in the table, meaning at least one entry in the table has more than one right-hand side, then the grammar is not LL(1).
Get An Introduction to Formal Languages and Automata, 7th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.