文件名称:LexicalAnalyzer
介绍说明--下载内容均来自于网络,请自行研究使用
Java语言词法分析器的设计和实现
1.使用DFA实现词法分析器的设计;
2.实现对Java源程序中注释的过滤;
3.利用两对半缓冲区从文件中逐一读取单词;
4.词法分析结果属性字流存放在独立文件(文件名:scanner_output)中;
5.统计源程序每行单词的个数和整个源文件单词个数;
6.具有报告词法错误和出错位置(源程序行号和该行字符)的功能;
-Lexical analyzer Java Language Design and Implementation 1. The use of DFA to achieve the design of lexical analyzer 2. The realization of the Java source code of the filter in the Notes 3. The use of two pairs of semi-buffer read from the document the words one by one 4. lexical analysis of flow properties of the word stored in a separate document (file name: scanner_output) in 5. statistical source of the number of words per line and the word number of source files 6. with the report of lexical errors and error location (source 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 1. The use of DFA to achieve the design of lexical analyzer 2. The realization of the Java source code of the filter in the Notes 3. The use of two pairs of semi-buffer read from the document the words one by one 4. lexical analysis of flow properties of the word stored in a separate document (file name: scanner_output) in 5. statistical source of the number of words per line and the word number of source files 6. with the report of lexical errors and error location (source line number and the character) of the function
(系统自动生成,下载前可以参看下载内容)
下载文件列表
刘梦情_20063006_词法分析器
..........................\myLex.exe
..........................\流程图
..........................\......\关键字状态图a-f.vsd
..........................\......\关键字状态图e-r.vsd
..........................\......\关键字状态图s-z.vsd
..........................\......\分析器.vsd
..........................\......\数字常量.vsd
..........................\......\标识符_界限符字符_字符串.vsd
..........................\......\词法分析总控程序.vsd
..........................\......\运算符状态图.vsd
..........................\源代码
..........................\......\head.h
..........................\......\lex.cpp
..........................\......\lex.h
..........................\......\main.cpp
..........................\词法分析器实验报告.doc
..........................\myLex.exe
..........................\流程图
..........................\......\关键字状态图a-f.vsd
..........................\......\关键字状态图e-r.vsd
..........................\......\关键字状态图s-z.vsd
..........................\......\分析器.vsd
..........................\......\数字常量.vsd
..........................\......\标识符_界限符字符_字符串.vsd
..........................\......\词法分析总控程序.vsd
..........................\......\运算符状态图.vsd
..........................\源代码
..........................\......\head.h
..........................\......\lex.cpp
..........................\......\lex.h
..........................\......\main.cpp
..........................\词法分析器实验报告.doc