|
|
#1 (permalink) |
|
Trying to make mom and pop proud
Join Date: Aug 2008
Posts: 1
![]() |
Context-Free
Hello all! I am having a problem with this one context-free grammar if some one could help that would be great!
Create a context-free grammar that generates the language a^nb^(n m)c^m. I came up with this so far: S -> aAc A -> bb But this only does the case with abbc. Can anyone help with this one? |
|
|
|
Contact TestMagic TestMagic Forums Archive
Link to TestMagic
TestMagic Locations
Legal
Privacy
Partner Sites:
GMAT Sentence Correction
SAT 2400
Content Relevant URLs by vBSEO 3.0.0
Copyright © 1998-2008 TestMagic
Ad Management by RedTyger