Introduction - If you have any usage issues, please Google them yourself
1, according to the lexical analysis required to write a formal grammar G 2, according to a regular grammar G, write a regular expression RE 3, according to the regular expression RE, draw the NFA 4, the NFA into a DFA 5, the DFA conversion the mininum state DFA 6, mininum state DFA is the lexical analysis process flow chart, flow chart according to the preparation of the corresponding lexical analyzer.