edited by
275 views

2 Answers

0 votes
0 votes
The language generated will be

    ε UNION { All strings that start with “ a “ and # a’s greater than or equal to # b’s and no consecutive b’s are allowed } where # is a short hand notation for “ number of “
0 votes
0 votes

for each ‘b’, the #a’s > #b’s (sub-string before ‘b’).

Related questions

1 votes
1 votes
1 answer
2
Mk Utkarsh asked Mar 22, 2018
1,391 views
Please post few examples of Linear Ambiguous Context Free Grammar.It would be helpful if you post grammars for famous languages.
1 votes
1 votes
1 answer
4
gabbar asked Mar 25, 2017
705 views
Construct context-free grammars to accept the following languages.$$\begin{align*} \large L = \left \{ 0^i1^j2^k \;\; | \;\; i \neq j \;\; or \;\; j \neq k \right \} \end...