搜索资源列表
GrammarAnalyse
- 实现了的词法分析和语法分析,输入源代码,输出的是语法树。
tiger_compiler
- 用java实现的tiger编译器,虽然功能还很简单,不过已经实现了抽象语法树的生成-Java implementation of the tiger by the compiler, although the function is still very simple, but has achieved the generation of abstract syntax tree
promptshaderey
- java实现的简单的分形树。简单易学!是学习分形知识的很好的例子。其java语法简单,只需要知道一些绘图函数即可!-java to achieve a simple fractal tree. Easy to learn! Fractal knowledge is to learn from good examples. Its java syntax is simple, only need to know a number of mapping function can be!
tiger
- TIGER语言编译器,完成了前段的此法语法分析,类型检查,语法树,编译原理课程设计作业-TIGER language compiler, the completion of the previous stage of this method syntax analysis, type checking, syntax tree, compiler principles of curriculum design work
src
- 关于编译原理的语法树的生成 有first last 和base的实现-this is a progrom。
GCC_ASP_C
- 描述了一种利用GCC抽象语法树(AST)文本来提取源程序静态信息的方法.-Describes a use of GCC Abstract Syntax Tree (AST) to extract the source text of the static information.
JavaCMMSyntacticAnalyzer
- 实验三:CMM语言解释器实验文档 二,实验结构与功能概述: 解释器在语法分析的基础上,对语法分析程序的输出,语法树遍历,完成语义检查并生成代码,代码以四元式的形式输出,cmm解释器解释执行四元式序列,完成对cmm语言的解释。 1.系统的输入:CMM源程序 系统的输出:1,单词(token)序列(词法分析) 2,语法树(语法分析) 3,四元式序列,cmm执行结果(语义分析) -Experiment III: CMM document langua
Eclipse_AST
- Eclipse AST(抽象语法树)使用指南
KikiTigerCompiler
- 编译原理课程设计 Tiger Compiler JAVA实现 生成Mips指令 词法分析,语法分析,抽象语法树,类型检查,中间代码生成,规范化,指令选择,活性分析,寄存器分配,合为一体。-Principles of curriculum design compilation to achieve Tiger Compiler JAVA Mips instruction generated lexical analysis, parsing, abstract syntax tree, type
smarty4j_v1.0.0
- smarty4j是一个smarty for java的模板引擎,该引擎是将smarty模板从php上移植过来,需要asm-3.0.jar。 smarty4j将文本解析成语法树,然后根据语法树生成Java Code的字节码,相当于一个基于JVM的smarty语法的编译器 -smarty4j is a smarty for java template engine is smarty template on the transplant from php, you need asm-3
SyntaxTree
- 解析一个JAVA程序中元素,将语法树解析出来,展现程序中的包、类、函数等信息-Resolve a JAVA program to parse out the elements, the syntax tree, to show the program packages, classes, functions, and other information
antlr
- ANTLR—Another Tool for Language Recognition,其前身是PCCTS,它为包括Java,C++,C#在内的语言提供了一个通过语法描述来自动构造自定义语言的识别器(recognizer),编译器(parser)和解释器(translator)的框架。ANTLR可以通过断言(Predicate)解决识别冲突;支持动作(Action)和返回值(Return Value)来;更棒的是,它可以根据输入自动生成语法树并可视化的显示出来(这一点我将在下面的例子中演示)。由
JAVA
- 安装Graphiza后可以生成简单的语法树-After the installation of Graphiza can generate a simple syntax tree
YTree
- 自己写的一个简陋的树结构,带泛型。本来是想做为语法树结构,但是自己功力低微>_<!-a simple tree structure.
testAST
- 使用java的asp,画程序的语法树,需要安装画图工具-failed to translate
JavaCompiler3.0
- Java实现的一个编译器前端,可以生生成符号表和中间虚拟语法树。做了模块化设计,分别对象的前端,中间码还有后端进行的分别实现,任何一部分都可以写成自己的实现。有一个小MX5的测试文件,可以直接运行MX5.java-A compiler in Java implementation, it is be able to generate symbol table and abstract syntax tree, outputting them in a nice XML format. Each
AST
- 实现java语言语法树的绘制,图片格式输出-Achieve java language syntax tree drawing
Test
- 此代码实现了算符优先文法分析器,实现对整数加减乘除运算表达式的分析和处理。 1.扫描程序,将任何一种整数运算表达式(无变量,操作数为正整数,允许加减乘除四种运算,允许使用括号和多层括号)识别为单词,并能发现单词的拼写错误 2.自底向上分析程序,在栈上实现对单词token串的自底向上分析 3. 根据算符优先文法的分析步骤,展示分析栈、token串的状态变化、相关量的优先级比较(算符优先分析表)结果输出 、判断当前是否进行规约或移进操作、(若须规约)显示当前应规约的串 4.展示语法树
SyntaxAnalysis
- 基于JAVA的cmm语法分析器。以单词序列为输入,分析单词序列构成的语法结构,给出相应的输出,并进行一定的错误处理。输入为任意的CMM源程序文件,输出是语法树或者类似可以说明语法成分的结构形式(可以输出到文件或者输出到屏幕上)。-JAVA-based cmm parser. The word sequence as input, analyze the grammatical structure consisting of a sequence of words, given the corre
project1
- 使用斯坦福NLP进行分词,并得到语法树和依赖语句(Use the Stanford NLP for word segmentation and get the syntax tree and dependency statements)