Welcome![Sign In][Sign Up]
Location:
Search - Test-Lexcial

Search list

[ELanguagemy_scanner

Description: 自己写的JAVA词法分析器,学习编译原理的朋友可以参考。内付说明-Its own lexical analyzer written in JAVA, learning Compilation Principle of a friend can refer to. Help with pay
Platform: | Size: 181248 | Author: wuwei | Hits:

[ELanguageword

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:

CodeBus www.codebus.net