搜索资源列表
antlr-2_7_0.zip
- Java写的词法/语法分析器。可生成JAVA语言或者是C++的词法和语法分析器。并可产生语法分析树和对该树进行遍历
javacifa
- 本程序是用JAVA语言编写的一个小的词法分析器,可实现输入语句的词法分析。-this program is written in Java and a small lexical analyzer can achieve input sentences of lexical analysis.
JAVA_SCANNER
- 一个简单的JAVA语言的词法分析器,读入文件,经过词法分析将分析结果写入输出文件中.(附JAVA词法分析要求)-a simple Java language lexical analyzer, read into the document, After lexical analysis of the results of the analysis into the output file. (JAVA lexical analysis requirements)
digui
- 【实验名称】递归子程序分析器的设计与实现 【实验目的和要求】 设计、编制,调试一个典型的语法分析程序,实现对如下的递归子程序语法的分析,进一步掌握常用的语法分析方法。 【实验内容】 ① 本分析程序所分析的文法如下: G[E]: E->eBaA A->a|bAcB B->dEd|aC C->e|dC ② 针对上述文法编写一递归子程序分析程序,该程序的输入是任意符号串,输出是本次输入
compiler.rar
- decaf.jar 是将类java的decaf语言编译成tac码(Three address code,类似汇编指令)的编译器。 包含了前端的词法和语法分析、语义分析,中间代码的生成。是我最近写完的编译课的一个作业。 例子: 1. 调用 java -jar decaf.jar -l 2 blackjack.decaf > blackjack.tac 生成 *.tac 文件 2. 然后,调用 java -jar tac.jar blackjack.tac
CMM.rar
- 这个语法分析器用到的是自顶向下的递归调用的方法,根据Cminus语言的文法规则 的BNF范式编写递归调用的代码,parse方法是程序的入口,它调用的stmt_sequence完成整个语法分析工作,stmt_sequence背后是12个互相调用的方法,它本身也在语法分析的过程中被调用到。 每个方法在最后会返回一个构造好的节点DefaultMutableTreeNode节点t给调用它的方法,然后调用它的方法用这个返回的节点继续构造,最后语法分析完成后会返回一棵完全构造好了的树节点,然后将这个树节点
analysis.rar
- 编译原理上机实验,c语言的词法分析器。将单词分为保留字,标识符,数字。可实现c语言的几乎全部词法分析。,Principle of the Experimental Machine compiler, c language lexical analyzer. The word is divided into reserved words, identifiers, numbers. Can be realized almost all of c language lexical analysis.
word.rar
- Java语言词法分析器的设计与实现 其中具体要求: 1.使用DFA实现词法分析器的设计; 2.实现对Java源程序中注释的过滤; 3.利用两对半缓冲区从文件中逐一读取单词; 4.词法分析结果属性字流存放在独立文件[文件名:scanner_output]中; 5.统计源程序每行单词的个数和整个源文件单词个数; 6.具有报告词法错误和出错位置(源程序行号和该行字符)的功能; ,Lexical analyzer Java language design and implementati
LexicalAnalyzer.rar
- Java语言词法分析器的设计和实现 1.使用DFA实现词法分析器的设计; 2.实现对Java源程序中注释的过滤; 3.利用两对半缓冲区从文件中逐一读取单词; 4.词法分析结果属性字流存放在独立文件(文件名:scanner_output)中; 5.统计源程序每行单词的个数和整个源文件单词个数; 6.具有报告词法错误和出错位置(源程序行号和该行字符)的功能; ,Lexical analyzer Java Language Design and Implementation 1. The
Java-Scanner
- 词法分析器(编译原理) Java语言词法分析器的设计与实现-Lexical Analyzer (Compilation Principle) Java language lexical Analyzer Design and Implementation
antlr-2_7_0
- Java写的词法/语法分析器。可生成JAVA语言或者是C++的词法和语法分析器。并可产生语法分析树和对该树进行遍历 -Syntactic and phrase parser in JAVA which can produce JAVA or C
ComplierLab
- C语言的词法、语法分析器 输出语法分析树,很强大-C language, lexical, syntax analyzer output parsing tree, very strong
cmmcc1.0
- 编译器中的词法分析,用java实现,类c语言的编译器-Compiler of the lexical analysis, using java implementation, class c language compiler
cifafenxi
- 简单的词法分析器 编译课程综合训练 java语言 -Simple lexical analyzer to compile a comprehensive training course java language
JavaLex_Java2Asm
- 用C++作为宿主语言完成Java 语言子集语法、语义分析器。完成文法描述的Java 源代码的语法分析、语义分析及代码生成。代 码生成的目标代码为MASM 汇编代码-Using C++ as the host language to complete a subset of Java language syntax, semantic analyzer. Complete grammar of the Java source code to describe the syntax analys
Main
- java语言写的词法分析器,编译原理课的实验源代码-written in java language lexical analyzer, the principle of classes to compile the source code of the experiment
java-scanner
- 用C语言(或 C++ )作为宿主语言完成: Java语言词法分析器的设计和实现 其中具体要求: 1. 使用DFA实现词法分析器的设计; 2. 实现对Java源程序中注释的过滤; 3. 利用两对半缓冲区从文件中逐一读取单词; 4. 词法分析结果属性字流存放在独立文件(文件名:scanner_output)中; 5. 统计源程序每行单词的个数和整个源文件单词个数; 6. 具有报告词法错误和出错位置(源程序行号和该行字符)的功能; -Using C language
11
- until 语句的LR翻译程序设计 是用JAVA语言编写的 能实现词法分析和语法分析的功能 并且输出四元式-LR sentence until the translation of the program design JAVA is the language used to achieve lexical analysis and syntax analysis of the function and output quaternion type
Data-Structure-in-Java
- 《数据结构与算法分析--java语言描述》一书源码-Data Structures & Algorithm Analysis in Java
数据结构与算法分析:Java语言描述code
- 数据结构与算法分析:Java语言描述,这本书的详细源代码