Description: ANTLR(ANother Tool for Language Recognition)它是这样的一种工具,它可以接受词文法语言描述,并能产生识别这些语言的语句的程序。作为翻译程序的一部分,你可以使用简单的操作符和动作来参数化你的文法,使之告诉ANTLR怎样去创建抽象语法树(AST)和怎样产生输出。ANTLR知道怎样去生成识别程序,语言包括Java,C++,C#. -distributions (ANother Tool for Language Recognit ion) it is a tool, it could accept the term grammar description language, and will produce identify the language of the statement of procedure. As part of the translation process, you can use a simple operator and movements to the parameters of your grammar, distributions so that it tells how to build an abstract syntax tree (AST) and how to produce the output. OpenSolaris know how to generate the identification procedures, language, including Java, C, C#. Platform: |
Size: 2650675 |
Author:guid |
Hits:
Description: 学编译原理时的课程作业,里面包含抽象语法树和程序源代码.-school compiler theory courses at the operation, which contains an abstract syntax tree and source code. Platform: |
Size: 126753 |
Author:吗啡 |
Hits:
Description: ANTLR(ANother Tool for Language Recognition)它是这样的一种工具,它可以接受词文法语言描述,并能产生识别这些语言的语句的程序。作为翻译程序的一部分,你可以使用简单的操作符和动作来参数化你的文法,使之告诉ANTLR怎样去创建抽象语法树(AST)和怎样产生输出。ANTLR知道怎样去生成识别程序,语言包括Java,C++,C#. -distributions (ANother Tool for Language Recognit ion) it is a tool, it could accept the term grammar description language, and will produce identify the language of the statement of procedure. As part of the translation process, you can use a simple operator and movements to the parameters of your grammar, distributions so that it tells how to build an abstract syntax tree (AST) and how to produce the output. OpenSolaris know how to generate the identification procedures, language, including Java, C, C#. Platform: |
Size: 2651136 |
Author:guid |
Hits:
Description: 学编译原理时的课程作业,里面包含抽象语法树和程序源代码.-school compiler theory courses at the operation, which contains an abstract syntax tree and source code. Platform: |
Size: 126976 |
Author:吗啡 |
Hits:
Description: 我写的抽象语法树,可以从用户输入条件中,判断处优先级,并自动建树,目前可以对TLISTVIEW 跟DBGRID进行过滤-I wrote the abstract syntax tree can be input from the user s conditions, to determine Department priorities, and automatically achievements, the current can TListView filter with DBGrid Platform: |
Size: 6144 |
Author:ss |
Hits:
Description: 采用递归下降分析法实现C0语言的语法分析器,其中中间表示采用抽象语法树的形式。
程序的输入:词法分析阶段的输出文件
程序的输出:存储了抽象语法树相关信息的XML格式的文件
-Decline in the use of recursive analysis method to achieve C0 language parser, which indicated that the use of intermediate abstract syntax tree form. Procedures for the importation of: lexical analysis phase of the procedure output file output: Storage of the abstract syntax tree of the XML information file Platform: |
Size: 3072 |
Author:许 |
Hits:
Description: 本设计Tiger语言为源语言,制作了编译程序的前端部分,主要包括了词法分析、语法分析、抽象语法树和类型检查的设计和实现方法,以及课程设计中碰到的问题、实验心得、参考数据等。-Tiger of the design language for the source language, has produced a compiler front-end parts, including the lexical analysis, syntax analysis, abstract syntax tree and the type checking of the design and implementation, as well as curriculum design problems they encountered in the experimental experience, reference data. Platform: |
Size: 390144 |
Author:jack sio |
Hits:
Description: 运用Cup和JLex工具,进行编译原理的词法分析、语法分析、抽象语法树生成。-use Cup and JLexuse to build principles of lexical analysis, syntax analysis, abstract syntax tree is generated. Platform: |
Size: 2028544 |
Author:pry |
Hits:
Description: 描述了一种利用GCC抽象语法树(AST)文本来提取源程序静态信息的方法.-Describes a use of GCC Abstract Syntax Tree (AST) to extract the source text of the static information. Platform: |
Size: 642048 |
Author:yy |
Hits:
Description: 用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 Platform: |
Size: 71680 |
Author:dele |
Hits:
Description: astcup的源代码,即抽象语法树的cup扩展源代码。-astcup the source code, abstract syntax tree of the cup is expanded source code. Platform: |
Size: 16384 |
Author:张晓娜 |
Hits:
Description: 本设计Tiger语言为源语言,制作了编译程序的前端部分,主要包括了词法分析、语法分析析、抽象语法树和类型检查的设计和实现方法,和课程设计中碰到的问题、实验心得、参考数据等。
-Tiger of the design language for the source language, produced a front-end part of the compiler, including lexical analysis, parsing analysis, design and implementation of the abstract syntax tree and type checking, and the problems encountered in the course design, experimental experience, reference data. Platform: |
Size: 363520 |
Author:smms |
Hits:
Description: 抽象语法树( Abstract Syntax Tree , AST) 作为程序的一种中间表示形式, 在程序分析等诸多领域有广泛的应用.
利用抽象语法树可以方便地实现多种源程序处理工具, 比如源程序浏览器、智能编辑器、语言翻译器等. 本文作者介绍了抽
象语法树涉及的原理及解释器的设计方案, 针对Java 语言, 利用设计模式理论提出了创建和遍历抽象语法树的思路, 并给
出较为详细的代码说明.-Abstract Syntax Tree, referred as intermediate representat ion of program, has many applications in
Program Analysis. Using Abstract Syntax Tree, we can develop tools such as Source Code Explorer, Intellectual Ed-i
tor, etc. This paper introduces the principles of Abstract Syntax Tree, and presents an appropriate solut ion to design
Interpreter based on Java Program. With the help of Design Patterns, we can build and traverse an Abstract Syntax
Tree. Moreover, the paper gives illustrat ions of concerned source codes. Platform: |
Size: 201728 |
Author:lilong |
Hits:
Description: 对tiny语义分析器的阅读和分析,理解符号表的定义(栏目设置)与基于抽象语法树的类型检查/推论的实现方法(树遍历)。完成C-语言的符号表的定义设计。规划类型检查/推论的实现方法。实现一种语言的语义分析器-Type checking/inference realization tiny semantic analyzer reading and analysis, to understand the definition of the symbol table (part set) based on the abstract syntax tree (tree traversal). Completion of the C-language definition of the symbol table design. The planning type checking/inference realization. A language semantic analyzer Platform: |
Size: 227328 |
Author:时雨 |
Hits:
Description: 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 package(frontend, intermediate and backend) is modularized that can be implemented in separate way to suit your desire. Just run MX5.java and it will output compiling result of mx5.txt. Platform: |
Size: 140288 |
Author:ChenLoot |
Hits:
Description: Transforms the JJTree-generated abstract syntax tree into a graph of org.apache.james.mime4j.field.address objects.
Platform: |
Size: 1024 |
Author:mongzangie |
Hits:
Description: 对四则运算表达式的抽象语法树进行后序遍历,可以得到输入表达式所对应的四元式序列(实验4要用到这样的四元式序列)。例如输入1+2*(3+4),对应的抽象语法树的中序遍历序列、四元式序列分别为-After the abstract syntax tree arithmetic expressions were preorder, you can get input expression quaternion corresponding sequence (Experiment 4 to use this quaternion sequence). For example, enter 1+2* (3+4), the traversal sequence corresponding abstract syntax tree quaternion sequences were Platform: |
Size: 1024 |
Author:汪祥 |
Hits:
Description: 可输出中序遍历序列检测程序功能是否正确。如果每个分支节点用一个临时变量标记,则对四则运算表达式的抽象语法树进行后序遍历,可以得到输入表达式所对应的四元式序列(实验4要用到这样的四元式序列)-Preorder output sequence detection program functions correctly. If each branch node labeled with a temporary variable, then the abstract syntax tree arithmetic expressions were preorder, you can get input expression quaternion corresponding sequence (Experiment 4 to use this sequence quaternion ) Platform: |
Size: 1024 |
Author:汪祥 |
Hits: