文件名称:java-scanner
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:4.8kb
-
已下载:3次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
用C语言(或 C++ )作为宿主语言完成:
Java语言词法分析器的设计和实现
其中具体要求:
1. 使用DFA实现词法分析器的设计;
2. 实现对Java源程序中注释的过滤;
3. 利用两对半缓冲区从文件中逐一读取单词;
4. 词法分析结果属性字流存放在独立文件(文件名:scanner_output)中;
5. 统计源程序每行单词的个数和整个源文件单词个数;
6. 具有报告词法错误和出错位置(源程序行号和该行字符)的功能;
-Using C language (or C++) as the completion of the host language: Java language lexical analyzer in which the design and implementation of specific requirements: 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 source document word number 6. with the report of lexical errors and error location (source code line number and the character) of the function
Java语言词法分析器的设计和实现
其中具体要求:
1. 使用DFA实现词法分析器的设计;
2. 实现对Java源程序中注释的过滤;
3. 利用两对半缓冲区从文件中逐一读取单词;
4. 词法分析结果属性字流存放在独立文件(文件名:scanner_output)中;
5. 统计源程序每行单词的个数和整个源文件单词个数;
6. 具有报告词法错误和出错位置(源程序行号和该行字符)的功能;
-Using C language (or C++) as the completion of the host language: Java language lexical analyzer in which the design and implementation of specific requirements: 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 source document word number 6. with the report of lexical errors and error location (source code line number and the character) of the function
相关搜索: 注释 过滤
(系统自动生成,下载前可以参看下载内容)
下载文件列表
java词法分析器(C语言)/JavaScanner.cpp
java词法分析器(C语言)/JavaScanner.h
java词法分析器(C语言)
java词法分析器(C语言)/JavaScanner.h
java词法分析器(C语言)
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.