文件名称:Lex_CPP
介绍说明--下载内容均来自于网络,请自行研究使用
实现LEX。读入正规式文件,将各个正规式转换成NFA,再由NFA转化成DFA,然后最小化DFA,根据最小化后的DFA生成Scanner的代码,识别符合每个正规式定义的词法构成的单词。-Achieve LEX. Read the formal style file will be converted into various formal ceremony NFA, then by the NFA into a DFA, then minimized DFA, generate code based on DFA Scanner minimized after identifying meets every word lexical constitute formal style definition.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Lex源码
.......\Closure.h
.......\data1.txt
.......\DFA.h
.......\Lex.cpp
.......\NFA.h
.......\Re.h
.......\re.txt
.......\Scanner.cpp