in Compiler Design retagged by
763 views
1 vote
1 vote
$L=\{x^n:n \in N\} \cup\{x^ny^n|n \in N\}$

This language does not have LL(k) parser while being deterministic context free.Why?
in Compiler Design retagged by
763 views

4 Comments

yes, intuitively that is correct šŸ‘ Similar to why LR(k) is more powerful than LL(k).
0
0
sir, can you show in formal way, why it doesn't have any LL(k) parser?
0
0
1
1

1 Answer

0 votes
0 votes

Till DCFL there exist a LR(K) parser.

Related questions