In: Computer Science
For each of the following grammars, first classify the grammar as Regular, Linear, Context-Free or Context-Sensitive, and then precisely describe the language generated by the grammar.
R → aR | bR | є
A → aaaA | є
B → Bbb | b
R → aRb | bRa | RR | bR | є
(5) S → a S b | C
Set of terminals here is T = {a, b, c}
C → cc C | є