Description: 扫描样本字符串,转换成NFA,继续转换,成为DFA,验证此字符串。-Scanning the sample string into a NFA, to continue to convert and become DFA, verify that the string. Platform: |
Size: 1549312 |
Author:刘琳 |
Hits:
Description: 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 Platform: |
Size: 2223104 |
Author:wangyonghui |
Hits:
Description: DFA、NFA的java代码实现,代码简单易懂,并附有可以运行的脚本文件,以及程序的说明文档-DFA, NFA' s java code, easy-to-understand code, with a script file that can be run, as well as the program' s documentation Platform: |
Size: 4096 |
Author:付波澜 |
Hits: