文件名称:LexSeu
介绍说明--下载内容均来自于网络,请自行研究使用
东南大学 课程设计 lex部分
说 明
**本次实验在Visual C++6.0环境下开发**
主要有以下文件:
1 词法分析器 lex.cpp
2 头文件 lex.h
3 测试文件 lex.l.txt
lex工具的使用方法
编译运行 lex.cpp/lex.h,这样就将lex.l.txt转换成Cpp语言程序yylex.cpp
然后使用VC++6.0将lexyy.cpp编译成可执行程序, 这样就识别出了lex.l.txt中的正规表达式
打印出的字幕代表了识别出相应正规表达式时的动作。-Southeast University curriculum design lex ** Note part of this experiment in Visual C 6.0 open environment ** fat mainly in the following documents : a lexical analyzer lex.cpp two documents lex.h three test documents for lex.l.txt lex with the use of compiler running lex.cpp / lex.h. This will be converted into tracing lex.l.txt Language Program yylex.cpp then use the VC 6. 0 to lexyy.cpp compiled executable. This lex.l.txt identified by the formal expression of subtitles printed out on behalf of the formal identification of the corresponding table TAT-time action.
说 明
**本次实验在Visual C++6.0环境下开发**
主要有以下文件:
1 词法分析器 lex.cpp
2 头文件 lex.h
3 测试文件 lex.l.txt
lex工具的使用方法
编译运行 lex.cpp/lex.h,这样就将lex.l.txt转换成Cpp语言程序yylex.cpp
然后使用VC++6.0将lexyy.cpp编译成可执行程序, 这样就识别出了lex.l.txt中的正规表达式
打印出的字幕代表了识别出相应正规表达式时的动作。-Southeast University curriculum design lex ** Note part of this experiment in Visual C 6.0 open environment ** fat mainly in the following documents : a lexical analyzer lex.cpp two documents lex.h three test documents for lex.l.txt lex with the use of compiler running lex.cpp / lex.h. This will be converted into tracing lex.l.txt Language Program yylex.cpp then use the VC 6. 0 to lexyy.cpp compiled executable. This lex.l.txt identified by the formal expression of subtitles printed out on behalf of the formal identification of the corresponding table TAT-time action.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 43680542lexseu.rar 列表 LexSeu\lex.cpp LexSeu\lex.h LexSeu\lex.l.txt LexSeu\说明.txt LexSeu