搜索资源列表
Compiler
- 一份完整的编译原理课程设计.设计了一个词法分析器和一个利用LL(1)算法实现的语法分析器.可以对C-语言编写的程序进行词法分析和语法分析,当出现错误时推断可能的原因.并最终用直观的方式构建起一棵语法分析树.-A complete compilation Principle. Designed a lexical analyzer and a use of LL (1) parser algorithm. Can be written in C-language program for lexic
LISP_parser
- 输入LISP表达式,可以进行语法分析和差错,并且可以生成语法树并进行查看-Enter LISP expressions can be parsed and errors, and can generate syntax tree and the tree view
tiny_exe
- tiny简单语言语法分析能实现词法分析语法分析功能,生成语法树-tiny simple language parsing to achieve lexical analysis parser function to generate syntax tree
happy
- 编译原理词法分析器的功能是利用函数之间的递归调用模拟语法树自上而下的构造过程。 改造文法:消除二义性、消除左递归、提取左因子,判断是否为LL(1)文法 -Compiler theory lexical analyzer function is to use recursive function calls between the simulation process of constructing the syntax tree from the top down. Transforma
GCC_ASP_C
- 描述了一种利用GCC抽象语法树(AST)文本来提取源程序静态信息的方法.-Describes a use of GCC Abstract Syntax Tree (AST) to extract the source text of the static information.
yufafengxi
- 类pascal语言的语法分析程序,输入源代码 输出语法树-Class pascal language parser, the input source code output syntax tree
gcc_trees
- 了解gcc语法树结构和创建过程很好的资料-Gcc syntax tree and learn the process of creating good information
CMMsyntaxanalysis
- CMM语言语法分析程序,输入CMM程序,输出语法树。-CMM language parser, type CMM process, output syntax tree.
tiger_compiler_in_java
- 编译器实现。词法分析,语法分析,类型检查,注释分析树构造。-Tiger compiler implemented in Java.
Tiny-P-syntax-analysis
- 利用递归下降法实现Tiny+的语法分析,语义分析与及三地址码生成。语法分析能输出生成的语法树,语义分析创建符号表和变量类型检验,代码生成是生成三地址码。要求分析程序能给予出一定的错误提示-Recursive descent method to achieve Tiny+ syntax analysis, semantic analysis and three-address code generation. Syntax analysis can Output generated synta
20117230242204
- 有关语料处理的代码,包括简单分词,语法树分析 -The corpus processing code, including a simple word, syntax tree analysis
CMMCompiler
- CMM语言(c-minus-minus)语言的解释器。相对于一些基本的程序而言,本系统具有以下几个特点: 1.基本功能: 支持int,real等简单类型,支持相应简单数组; 支持while,if,else语句; 基本数值运算:+,-,*,/; 2.语句拓展 支持char,string等类型,同时支持相应类型数组,与常量声明; 完全支持for,break ;switch(case,default)continue等语句; 支持 ,++,--,+=,-=,*=,/=等
LALR(1)
- 源程序+MyEclipse工程 LALR(1)语法分析程序,包括语法分析表、分析过程以及打印出语法树-Source code+ MyEclipse project LALR (1) parser, including parsing tables, analysis and print out the syntax tree
JSQFinal
- 编译原理课程设计,CMM 是一种经过简化的 C 语言,CMM 解释器是一个 CMM 语言 的集成开发环境,经过词法、语法和语义的分析,通过递归下降子程序法对 CMM 语言 进行解释执行。此解释器可以实现几种基本数据类型的表达式计算、隐式转换和强制转 换,循环语句的控制,多维数组的处理,函数调用和重载,变量作用域限制等功能。IDE 能够进行代码自动缩近、语法高亮、撤销重做、括号匹配、错误检查标记、函数定位、 快速注释、输出语法树等。 -CMM is a programming
grammar-analyser
- 1、任意输入一个文法G; 2、处理文法中可能存在的左递归和公共左因子问题; 3、对文法中的每个非终结符自动生成并打印输出: ① FIRST集; ② FOLLOW集; 4、判断处理后的文法是否为LL(1)文法,如果是,自动生成并打印输出其预测分析表; 5、模拟分析过程。 如输入一个句子,如果该句子合法则输出与句子对应的语法树;能够输出分析过程中每一步符号栈的变化情况。如果该句子非法则进行相应的报错处理。 -An arbitrary input to a gr
SyntaxTree
- 解析一个JAVA程序中元素,将语法树解析出来,展现程序中的包、类、函数等信息-Resolve a JAVA program to parse out the elements, the syntax tree, to show the program packages, classes, functions, and other information
Compiler
- 编译原理实验代码,包含了符号表、词法分析、语法分析和语法树设计以及语义分析。-Compiler theory experimental code contains symbol tables, lexical analysis, parsing and syntax tree and semantic analysis.
antlr
- ANTLR—Another Tool for Language Recognition,其前身是PCCTS,它为包括Java,C++,C#在内的语言提供了一个通过语法描述来自动构造自定义语言的识别器(recognizer),编译器(parser)和解释器(translator)的框架。ANTLR可以通过断言(Predicate)解决识别冲突;支持动作(Action)和返回值(Return Value)来;更棒的是,它可以根据输入自动生成语法树并可视化的显示出来(这一点我将在下面的例子中演示)。由
TCCompileri
- 本设计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 implem
JAVA
- 安装Graphiza后可以生成简单的语法树-After the installation of Graphiza can generate a simple syntax tree