Are there general guidelines to make a grammar unambiguous?

40 Views Asked by At

I realized that we can't have more than one uppercase letter of the same type.

For instance, we can have S -> AB, but not S -> BB.

Is there any other principles we must abide to when writing an unambiguous grammar?