I'm currently having problems solving this kind of a conflict in a grammar:
A -> (A)A'
A -> 0A'
A -> 1A'
A'-> NAND A A'
A'-> eps
The problem is that FIRST of A' is NAND - as well as a part of its FOLLOW set. And since there's the A' -> eps rule, that creates a conflict. Is there any way to resolve this conflict? Substitution or factorization don't yield any results - so I guess that I'm missing something.