Location:
Search - lexseu
Search list
Description: 东南大学 课程设计 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.
Platform: |
Size: 10635 |
Author: myname |
Hits:
Description: 东南大学 课程设计 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.
Platform: |
Size: 10240 |
Author: myname |
Hits:
Description: 多次诉讼,,tingdsfhoaso-xc
Platform: |
Size: 10240 |
Author: 胡超 |
Hits: