java - Give a CFG for this language -
the language is: {0n1m|n=2m}
i need give cfg based on language, , can't figure out. it's been hour , extremely frustrated, got hints/lead-way?
good question. here start. step 1: write down start variable. step 2: find var written down , rule has var left hand side. replace var right hand side of rule. step 3: repeat 2 until no more var remain.
Comments
Post a Comment