Question on constructing grammar


#1

consider the grammar G whose productions are S->aS | AB , A -> ^ ,B -> ^ ,D->b.construct a grammar G1 without null productions generating L(G)-{ ^ }