From: ch2003 <ch...@gm...> - 2006-10-17 22:20:03
|
Hi, I am studying lexical analysis currently. I am very interested in flex and I need your help. It is said that a regular expression can be transformed into a DFA directly in Section 2.9 of the dragon book. However, in flex, a regular expression is transformed into a NFA, and then the NFA is changed into DFA. I want to know why transform the regular expression into a DFA directly in flex. Thank you very much. Best regards ch2003 |