• edited by
3,563 views
2 2 votes

Is a regular grammar either  "completely LEFT LINEAR " OR  "completely RIGHT LINEAR" or can it be a combination of both left linear and right linear ?

1 Answer

3 3 votes

regular grammar either  "completely LEFT LINEAR " OR  "completely RIGHT LINEAR" 

if we combine both then we may get nonregular language . so combination of left linear and right linear is not allowed for reguler grammar.

Position:
Show:

Related questions

0 0 votes
1 1 answer
626
626 views
0 0 votes
1 answers 1 answer
1.1k
1.1k views
Souvik33 asked Dec 27, 2022
1,110 views
The following language regularL*, where L={ $0^{{m}^{2}} | m\leq 3$ }TrueFalse
2 2 votes
2 answers 2 answers
7.7k
7.7k views
Akash Kumar Roy asked Jun 3, 2019
7,676 views
A->aB/bA/bB->aC/bBC->aA/bC/a If the above regular grammar is converted into DFA then how many final states will be there?According to me there should be 2 final states: A...
1 1 vote
1 1 answer
820
820 views
Abbas Ahmad asked Nov 30, 2018
820 views
If a grammar G is both left linear as well as right linear then,what should be the case a) G is always not regularb) G may or may not be regularc) something else