LexSeu
所属分类:Windows编程
开发工具:Visual C++
文件大小:10KB
下载次数:394
上传日期:2007-06-11 16:42:21
上 传 者:
iamaqua
说明: 东南大学 课程设计 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.)
文件列表:
LexSeu\lex.cpp (20646, 2007-05-11)
LexSeu\lex.h (3826, 2007-05-11)
LexSeu\lex.l.txt (1131, 2007-05-13)
LexSeu\说明.txt (958, 2007-06-11)
LexSeu (0, 2007-06-11)
近期下载者:
相关文件:
收藏者: