搜索资源列表
yuyifenxi
- 采用递归下降语法制导翻译法,对算法表达式、赋值语句进行语义分析且生成四元式序列-Decline in the use of recursive grammar-translation method guided the algorithm expression, assignment and semantic analysis to generate quaternary sequence
20072215893021
- 元式,递归下降法书写的if。。else条件语句的语法分析及语义分析程-Element-type, recursive descent method to write the if. . else conditional statement syntax analysis and semantic analysis process
diguifenxi
- 编译原理小程序:用递归下降分析法进行语法分析 对输入的表达式进行自顶向下分析-Compiler theory applet: recursive descent parsing by top-down analysis of the input expression
CP_work_8
- 设计一个四则表达式分析软件,其接受从文件或键盘输入的四则表达式(运算对象支持整数和变量),给出该表达式的二叉树表达形式,并在键盘上按后续遍历方式输出该二叉树。 例如,输入a+b*c,输出 a b c * + 提示:参考下列的设计指导: 递归下降分析法实验设计思想及算法 为G的每个非终结符号U构造一个递归过程,不妨命名为U。U的产生式的右边指出这个过程的代码结构: (1)若是终结符号,则和向前看符号对照,若匹配则向前进一个符号;否则出错。 (2)若是非终结符号,
fz
- 赋值语句的翻译,递归下降法是语法分析中最易懂的一种方法。它的主要原理是,对每个非终极符按其产生式结构构造相应语法分析子程序,其中终极符产生匹配命令,而非终极符则产生过程调用命令。-Translation of assignment statements, recursive descent parser is the most straightforward method. Its main principle is that their production structures constr
lexical-analyzer
- 用递归下降法编写一个语法分析程序,使之与词法分析器结合,能够根据语言的上下文无关文法,识别输入的单词序列是否文法的句子。-Write a parser using recursive descent method, combined with the lexical analyzer makes it possible depending on the context-free grammar of language, whether the input word sequence recogn
Interpreter
- 简易语法解释器Demo,使用递归下降分析法-Simple Intepreter demo