搜索资源列表
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
yufafenxi
- 利用递归下降分析程序实现对语法的分析,并输出语法树-Recursive descent parser used to achieve the analysis of grammar and syntax tree output
Parser
- 编制一个递归下降分析程序,实现对词法分析程序所提供的单词序列的语法检查和结构分析-The preparation of a recursive descent parser, lexical analyzer to achieve the sequence of words provided by the syntax check and structural analysis
ackerman
- ackerman函数的非递归实现,使用栈的方法实现,需要理解递归的意义-ackerman function
compiler
- 设计并实现SNL程序设计语言的编译程序; 四个模块: 词法分析模块 语法分析模块(递归下降方法) 语法分析模块(LL(1)方法) 语义分析模块 -The compiler source code
code
- 对于任意给定的输入串(词法记号流)进行语法分析,递归下降方法和非递归预测分析方法可以任选其一来实现。-For any given input string (lexical token stream) parsing, recursive descent methods and non-recursive predictive analysis method can either be achieved.
CP_work_8
- 设计一个四则表达式分析软件,其接受从文件或键盘输入的四则表达式(运算对象支持整数和变量),给出该表达式的二叉树表达形式,并在键盘上按后续遍历方式输出该二叉树。 例如,输入a+b*c,输出 a b c * + 提示:参考下列的设计指导: 递归下降分析法实验设计思想及算法 为G的每个非终结符号U构造一个递归过程,不妨命名为U。U的产生式的右边指出这个过程的代码结构: (1)若是终结符号,则和向前看符号对照,若匹配则向前进一个符号;否则出错。 (2)若是非终结符号,
Syntax-analysis
- 采用递归下降语法分析方法对输入的字符串进行语法分析,实现对词法程序提供的单词序列的语法检查和结构分析 待分析的Traning语言的语法用扩充的BN表示: 1.<程序>::=function<语句串>endfunc 2.<语句串>::=<语句>{ <语句>} 3.<语句>::=<赋值语句> 4.<赋值语句>::=ID=<表达式> 5.<表达式>::=<
Compiler
- 这是一个用C语言写的C-minus编译器。实现了词法分析,语法分析。其中语法分析用的是递归下降算法。- 这是一个用C语言写的C-minus编译器。实现了词法分析,语法分析。其中语法分析用的是递归下降算法。 ON划词翻译ON实时翻译 This is a C language used to write the C-minus compiler. The lexical analysis, syntax analys
Semantic_analyzer
- 自顶向下子程序递归,算术表达式语义分析,实现对算术表达式的值的计算,输入文件格式如,压缩包中的txt文件-a demo of semantic analyse
yufafenxi
- 简单的语法分析程序,用递归下降实现词法的扫描输入与语法的查询报错。-Simple parser using recursive descent for query error lexical scanning input syntax.
interpreter
- 简单的C语言编译器+解释器,使用DFA+递归下降法与四元组等实现,可以实现简单的数值计算-Simple C language compiler+ interpreter, using DFA+ recursive descent method and quads, etc. to achieve, you can achieve a simple numerical calculation
MyComplier
- 实现词法分析、递归语法分析、算符优先文法分析 文法比较简单、可以尝试修改-easy complier
yufafenxi
- 使用的文法如下: E ? TE ¢ E ¢ ? + TE ¢ | e T ? FT ¢ T ¢ ? * FT ¢ | e F ? (E) | id 对于任意给定的输入串(词法记号流)进行语法分析,通过递归下降方法和非递归预测分析方法来实现(The syntax analysis of any given input string (lexical token stream) is implemented by recursive desc