Find an simple grammar for L(aaa*b+b)


I have not idea about this. any help?

Recommended Answers

All 3 Replies

From the given language, try to write some sample events generated by the given language. Then that might help you formulate a grammar for the general case.

S -> aaA | b
A -> aA | b

Do not give ready answers vahids. Luckily your answer is not correct.

The language is actually same as L(aa+bb+)

(aa* == a+)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.