文件名称:Java-Scanner
-
所属分类:
- 标签属性:
- 上传时间:2014-06-09
-
文件大小:3kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Java语言词法分析器的设计和实现
其中具体要求:
使用DFA实现词法分析器的设计;
实现对Java源程序中注释的过滤;
利用两对半缓冲区从文件中逐一读取单词;
词法分析结果属性字流存放在独立文件(文件名:scanner_output)中;
统计源程序每行单词的个数和整个源文件单词个数;
具有报告词法错误和出错位置(源程序行号和该行字符)的功能;-Java language lexical analyzer design and implementation of which specific requirements: Use DFA lexical analyzer designed to achieve realization of Java source code annotations filter use two pairs of semi-buffer read the words from the file one by one lexical analysis of property word stream is stored in a separate file (file name: scanner_output) in number of words per line source statistics and the number of words in the entire source file has reported lexical error and error location (source code line number and the line of characters) function
其中具体要求:
使用DFA实现词法分析器的设计;
实现对Java源程序中注释的过滤;
利用两对半缓冲区从文件中逐一读取单词;
词法分析结果属性字流存放在独立文件(文件名:scanner_output)中;
统计源程序每行单词的个数和整个源文件单词个数;
具有报告词法错误和出错位置(源程序行号和该行字符)的功能;-Java language lexical analyzer design and implementation of which specific requirements: Use DFA lexical analyzer designed to achieve realization of Java source code annotations filter use two pairs of semi-buffer read the words from the file one by one lexical analysis of property word stream is stored in a separate file (file name: scanner_output) in number of words per line source statistics and the number of words in the entire source file has reported lexical error and error location (source code line number and the line of characters) function
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Java-Scanner.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.