Given the languages $L_0 = {w in {0,1}^*}$ such that $w$ is a palindrome and $L_1 = {w in {0,1}^*}$ such that $w$ is *not* a palindrome, meaning $L_1$ is the compliment of $L_0$, we want to find the grammar for both languages. $G(L_0) = S to epsilon | 0S0 | 1S1 | 0 | 1$ is easy to come up with, but $G(L_1)$ is much more complex.

In this case, we have the simple CFG $G_0$ and want to find the CFG $G_1$ that is its compliment which can be much more complex. Is there a method to derive the compliment of a CFG?