I want to find Context Free Grammar for L={ a^n b^m : n <= m+3 , n,m>=0}
What I have so far
S -> AAAB
A -> a | ε
B -> aBb | Bb | ε
Does this make any sense?
I want to find Context Free Grammar for L={ a^n b^m : n <= m+3 , n,m>=0}
What I have so far
S -> AAAB
A -> a | ε
B -> aBb | Bb | ε
Does this make any sense?
Copyright © 2021 Jogjafile Inc.
First of all this CFG should work properly But the CFG below is more readable :