-4
$\begingroup$

I'm pretty sure b and d are ll2 and not one but not 100% sure.

(a) S → aaScc | aaBbc | aaBbb | aBb | ac | Ʌ
B → aBb | Ʌ

(b) S → aaScc | aaBbc | aBb | ac | Ʌ
B → aBb | Ʌ

(c) S → aaScc | aaBbc | B | ac | Ʌ
B → aBb | Ʌ

(d) S → aaScc | aaBbc | B | ac
B → aBb | Ʌ

$\endgroup$

1 Answer 1

1
$\begingroup$

Prove that you always know what rule to apply if you know the next two symbols. Then show a sentence where knowing only the next symbol doesn’t determine the next rule.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.