I am familiar with describing Regular Expressions but when it comes to describing CFG I get confused. Do you describe it in words like you would regular expressions or do you do something like this ?
this is the CFG I am trying to describe
S -> SS
S -> XXX
X -> aX| Xa| b
I was thinking something like this
S-> SS
->XXXS
->aXXXs
->abXXS
->abXXS
->abXAXS
->abbaXS
->abbabS
->abbabS
->abbabXXX
->abbabbXX
->abbabbbX
->abbabbbb
->abbabbbb