I need to prove this context free grammar ambiguous, I know to prove this I need to find 2 different paths of the same string, but this question has 'begin' and 'end' which I don't know what they mean
S -> begin A end
A -> A ; A | a | S
I need to prove this context free grammar ambiguous, I know to prove this I need to find 2 different paths of the same string, but this question has 'begin' and 'end' which I don't know what they mean
S -> begin A end
A -> A ; A | a | S
Hint:
I hope this helps $\ddot\smile$.