convert the following grammar(s->xy1/ox->oox/yy->1x1) in gnf and discuss your answer.
Answers
Answered by
4
hello!
_____
rule 1 :-
Convert the grammar into CNF.
Convert the grammar into CNF.If the given grammar is not in CNF, convert it to CNF.
Converting Context Free Grammar to Chomsky Normal Form
rule 2
Eliminate left recursion from grammar if it exists.If CFG contains left recursion, eliminate them.
Similar questions
English,
5 months ago
English,
9 months ago
Computer Science,
9 months ago
Environmental Sciences,
1 year ago
English,
1 year ago