搜索资源列表
yufafenxi
- 编译原理课程设计之pp2语法分析程序,Decaf 语言语法分析器设计-Compiler Construction Principles of curriculum design PP2 parser, Decaf language parser design
LL1ParsingCode
- LL1语法分析程序,输入文法表达式能够自动输出预测分析表,判断是否为LL1文法,还可以再输入任意的一个句子,然后对其进行分析,给出分析进栈出战的详细过程-LL1 parser, enter the grammar of expression that can automatically predict the output table to determine whether the LL1 grammar, you can enter any of a sentence, and then a
Grammer_analysis_program
- 北邮 编译原理与技术 课程实验 语法分析程序 用C++实现,包含递归下降分析,LL(1),LR(1),YACC的所有源代码及测试输入文件-Compile didactical building principle and technology experiment grammar analysis in c++ program implementation, include recursively to analysis, LL (1), LR (1), all of the source co
LR0
- (1)构造文法G的LR(0)项目 (2)构造文法G的LR(0)项目集规范族及识别活前缀的DFA (3)证明文法G不是LR(0)文法而是SLR(1)文法,并构造SLR(1)分析表 (4)设计LR语法分析程序,且能输出分析过程 (5)列举两个例子测试语法分析程序(识别失败一例,识别成功一例,后者推导步骤不得少于10步) -(1) construct grammar G of the LR (0) item (2) construct grammar G of the LR (0)
bianyi
- pl0 编译原理程序,词法分析,语法分析,中间代码生成,模拟执行-pl0 compiler theory procedures, lexical analysis, syntax analysis, intermediate code generation, simulation execution
yufafenxi(LR)
- LR方法 编写语法分析程序,实现对算数表达式的语法分析。要求所分析算数表达式由如下的文法产生。 E->E+T|E-T|T T->T*F|T/F|F F->id|(E)|num 实验要求:在对输入表达式进行分析的过程中,输出所采用的产生式。 -LR parser written methods to achieve parsing of arithmetic expressions. Requirements of arithmetic
SLR1
- 该程序为一个手工编码实现的简单SLR语法分析器,其词法分析器调用接口为lex(),语法分析调用接口为SLR1()。-The program is a simple hand-coded implementation SLR parser, the lexical analyzer is called interface lex (), parsing call interface for the SLR1 ().
yufafenxi
- 利用递归下降分析程序实现对语法的分析,并输出语法树-Recursive descent parser used to achieve the analysis of grammar and syntax tree output
Yacc
- 语法分析器 生成工具 YACC 实例 说明 含源码 运行程序-YACC parser generation tool with source code examples to run programs
LL(1)_LR(0)_Demo
- 包括一个LR(1)的语法分析程序和一个LL(1)的语法分析程序的例子- Including LR (1) grammar analysis program and LL (1) grammar analysis program example
BOCH
- 一个用LISP语言编写的语法分析器。使用Bottom-up Chart Parsing算法,程序非常的简单高效,只有二百多行。另外可以自己定义文法和字典。 源代码公开,主要供对语法分析算法和LISP编程感兴趣的人学习使用,也可以使用在自然语言处理的各种实际研究当中。-A language with LISP parser. The use of Bottom-up Chart Parsing algorithm, the procedure very simple and efficient,
cmm_java
- java语法分析程序 主要是用于编译器原理的实践-implement the grammar analysis using java programming language, including the java parser and lexical analyse ,and java test and can run well in my machine good good good
LL
- 简易的语法分析程序,可以实现LL(1)语法分析,功能较简易。-Simple parser can achieve the LL (1) parsing simpler functions.
analysis
- 编写语法分析程序,实现对算术表达式的语法分析。要求所分析算术表达式由如下的文法产生: E->E+T|E-T|T T->T*F|T/F|F F->id|(E)|num 实验要求:在对输入表达式进行分析的过程中,输出所采用的产生式。 编程实现算法4.2,为给定文法自动构造预测分析表。 编程实现算法4.1,构造LL(1)预测分析程序。-Write a parser, parsing arithmetic expressions. Requirem
vc_SLRStar
- 一个vc++编写的词法语法分析程序,可以直接编译运行.-A lexical and syntactical analysis program written in Visual C++, can be compiled directly and run.
CMMGrammarAnalyze
- 使用eclipse,java语言,完全自己编写的一个小型的语法分析程序。桂浩老师的实验三作业。-Use Eclipse java language entirely their own writing a small syntax analysis program. Gui Hao teacher experiment three operations.
Compile
- LL1语法分析程序,输入文法表达式能够自动输出预测分析表,词法分析器-LL1 parser input grammar expression can automatically output the prediction analysis table to determine whether the LL1 grammar, you can then enter any of a sentence, and then analyze them gives a detailed analysis
编译课程设计【题目2】
- C++语言做的一个小型编译器,可以进行词法分析、语法分析、语义分析及中间代码生成(Lexical analysis, syntax analysis, semantic analysis and intermediate code generation)
bianyi_exe2
- 编译原理语法分析程序,根据词法分析的输出结果,结合语法规则,建立抽象语法分析树(Compilation principle grammar analysis program, according to the lexical analysis of the output results, combined with syntax rules, the establishment of abstract syntax analysis tree)
Jingyu
- 词法分析程序是独立的一遍,把字符流的源程序变为单词序列,输出到一个中间文件,这个文件作为语法分析程序的输入而继续编译过程。该词法分析程序的功能是输入源程序,按照构词规则分解成一系列的单词符号,包括关键字、标识符、运算符、界符和常量等。(The lexical analysis program is an independent one, which turns the source program of the character stream into a word sequence and