For the following context free grammar:
S --> (S) | SS | A
A --> a | A,A | E (E is the empty string)
The formal definition is:
G=(V,T,P,S)
V={A,S}
T={E;a; ( ; ) ; , }
S=S
P:
S --> (S)
S --> SS
S --> A
A -->a
A -->A,A
A --> E (E is the empty string)
How do i know if this grammar is ambiguous or not? Thank you.