搜索资源列表
lr
- 给出该文法的属性文法,用LR分析法实现对赋值语句的翻译,给出翻译的逆波兰式结果。-Given the grammar attribute grammar, with the realization of LR analysis of the translation of assignment statements are given against the Polish translation of the results.
2
- 逆波兰式表示法的生成程序,挺好的!实现了从中缀向后缀的转变-Reverse Polish Notation notation generation process, quite good! Realized the transformation from infix to suffix
nibolan
- 非后缀式用来表示的算术表达式转换为用逆波兰式来表示的算术表达式,并计算用逆波兰式来表示的算术表达式的值。-Suffix used to represent arithmetic expressions arithmetic expression converted to Reverse Polish Notation, and calculate the value of the arithmetic expression Reverse Polish Notation.
object-code
- 编译原理最后一步目标代码生成逆波兰式转换成汇编-Compilation Principle final step object code generation Reverse Polish Notation into assembly
calculator
- 用逆波兰式计算数学表达式,用的是C#语言-With Reverse Polish Notation calculate mathematical expressions, using the C# language
RPN
- 将数学表达式转换成逆波兰表达式,用C#语言-The mathematical expression into Reverse Polish Notation, using C# language
bison
- 用bison实现的四则运算逆波兰表达式计算器。其中的词法分析用flex实现。里面是VC的工程文件。有已经生成的exe.使用时注意输入的格式: 如 3+4 输入时为3 4 +,其中的空格不能少。-Reverse Polish Notation calculator with bison achieve four operations.
wenjain1
- 正则表达式转化为DFA。首先转化为逆波兰表达式。再建立语法分析树,求firstops,followops,lastops,nullable函数,构建DFA。-Regular expressions into DFA. First into reverse Polish notation. Re-establishing the parse tree, seeking firstops, followops, lastops, nullable function, build DFA.
nibolanshifenxichengxu
- 逆波兰式程序分析器,用于自己编写的源程序进行语法分析,初步找出一些错误-nibolanshi chengxu fenxiqi
postfix-notation
- 1、给出文法如下: G[E] E->T|E+T T->F|T*F F->i(E) 对应的转化为逆波兰式的语义动作如下: E-> E(1)op E(2) {E.CODE:= E(1).CODE||E(2).CODE||op} E->(E(1)) { E.CODE := E(1).CODE} E->id { E.CODE := id} 2、利用实验5中的算符优先分析算法,结合上面给出的语义动作实现逆波兰式的构造
raplc
- 编译原理的实验:bison实现的逆波兰计算器,doc文件有编译过程,注意安装bison在运行-bison implemented RPN calculator, doc file has the compilation process, pay attention to install bison running
pro
- YACC程序中缀转后缀,只采用YACC,没有LEX,比较简单的一个逆波兰式的转换-YACC program infix turn suffix