Confused how to convert following CFG into CNF.
S → aY | Ybb | Y
X → Λ | a
Y → aXY | bb | XXa
What will be above CFG in the form nonterminal → string of two nonterminals or nonterminal → one terminal.
Thanks
CFG To CNF
Page 1 of 11 Replies - 11855 Views - Last Post: 28 July 2010 - 10:39 AM
Replies To: CFG To CNF
#2
Re: CFG To CNF
Posted 28 July 2010 - 10:39 AM
there's nothing tricky about converting a context free grammar to a chomsky normal form, if you know the algorithm, you just blindly apply it and you can't go wrong with the result. just google how to do that and look at some examples, or just use sipser's book, everything you need is there.
Page 1 of 1

New Topic/Question
Reply


MultiQuote



|