Quantcast
Channel: User MintStout - Stack Overflow
Viewing all articles
Browse latest Browse all 5

Are the following grammars LL(1)?

$
0
0

S -> Abc|aAcb

A -> b|c|ε

I think the first one is LL(1)

S -> aAS|b

A -> a|bSA

But the problem is second one. There's no conflict problem, but I think it doesn't satisfy right-recursion.I'm not sure about those problems.


Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images