I am having some problems trying to work out a context-free grammar for the following language:
L = { a^x b^y : y>=x, y-x is odd }
At the moment I have the following, but that does not work completely
S -> aSb | Sb |epsilon
How do I address the y-x is odd aspect of this language? It is the one thing I am unsure how to do.