languages
- From: "jason_box" <cppisfun@xxxxxxxxx>
- Date: 12 Feb 2006 20:24:44 -0800
I have this problem that I'm trying to solve that involves writing down
a grammar for the following structures:
L = {a^nb*a^n : n >= 0} and L ={ z in {0,1,2}* : number of 0's are
equal to number of 1's + number of 2's }
Does anyone have any ideas on how to generate a simle CFG for that?
.
- Follow-Ups:
- Re: languages
- From: Barb Knox
- Re: languages
- Prev by Date: Ambuguity of CFG
- Next by Date: Re: X3SAT Question
- Previous by thread: Ambuguity of CFG
- Next by thread: Re: languages
- Index(es):