文件名称:word
- 所属分类:
- 编译器/词法分析
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2.12mb
- 下载次数:
- 1次
- 提 供 者:
- wangy******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Java语言词法分析器的设计与实现
其中具体要求:
1.使用DFA实现词法分析器的设计;
2.实现对Java源程序中注释的过滤;
3.利用两对半缓冲区从文件中逐一读取单词;
4.词法分析结果属性字流存放在独立文件[文件名:scanner_output]中;
5.统计源程序每行单词的个数和整个源文件单词个数;
6.具有报告词法错误和出错位置(源程序行号和该行字符)的功能;
-Lexical analyzer Java language design and implementation
One of the specific requirements:
1. The use of DFA realize the design of lexical analyzer
2. Implementation of the Java source program annotated filtration
3. The use of two pairs of semi-buffer read from the file one by one word
4. Lexical analysis of word flow property stored in a separate document [file name: scanner_output] Medium
5. Statistical source of the number of words per line and the entire source file number word
6. With the report of lexical error and error location [source code line number and the character] of the function
其中具体要求:
1.使用DFA实现词法分析器的设计;
2.实现对Java源程序中注释的过滤;
3.利用两对半缓冲区从文件中逐一读取单词;
4.词法分析结果属性字流存放在独立文件[文件名:scanner_output]中;
5.统计源程序每行单词的个数和整个源文件单词个数;
6.具有报告词法错误和出错位置(源程序行号和该行字符)的功能;
-Lexical analyzer Java language design and implementation
One of the specific requirements:
1. The use of DFA realize the design of lexical analyzer
2. Implementation of the Java source program annotated filtration
3. The use of two pairs of semi-buffer read from the file one by one word
4. Lexical analysis of word flow property stored in a separate document [file name: scanner_output] Medium
5. Statistical source of the number of words per line and the entire source file number word
6. With the report of lexical error and error location [source code line number and the character] of the function
(系统自动生成,下载前可以参看下载内容)
下载文件列表
词法分析器
..........\20053484-王永辉
..........\...............\20053484-王永辉.doc
..........\...............\scanner_output
..........\...............\Test-Lexcial
..........\...............\词法分析器.cpp
..........\20053484-王永辉.rar
..........\4???.pdf
..........\4编译原理实验指导书.pdf
..........\compiler.pdf
..........\Java-Scanner.doc
..........\Java语法语义分析器.doc
..........\20053484-王永辉
..........\...............\20053484-王永辉.doc
..........\...............\scanner_output
..........\...............\Test-Lexcial
..........\...............\词法分析器.cpp
..........\20053484-王永辉.rar
..........\4???.pdf
..........\4编译原理实验指导书.pdf
..........\compiler.pdf
..........\Java-Scanner.doc
..........\Java语法语义分析器.doc