Convert regular expression to CFG
Posted
by user242581
on Stack Overflow
See other posts from Stack Overflow
or by user242581
Published on 2010-04-14T17:11:14Z
Indexed on
2010/04/14
17:13 UTC
Read the original article
Hit count: 359
How can I convert some regular language to its equivalent Context Free Grammar(CFG)? Whether the DFA corresponding to that regular expression is required to be constructed or is there some rule for the above conversion?
For example, considering the following regular expression
01+10(11)*
How can I describe the grammar corresponding to the above RE?
© Stack Overflow or respective owner