搜索资源列表
myCompile
- 一个小程序,用c++语言实现简单的一遍编译器,完成中缀表达式与后缀表达式之间的转换。-a small program, c simple language what the compiler, completed sergeant with the suffix expression between the expression change.
45646748945
- 本程序的功能是:将中缀表达式(只能含有的运算符为( ) / * + - =)转化为后缀表达式,-this procedure is the function : China will decorate the expression (containing only the operator () / * - =) into suffix expression,
houzhui
- 把中缀表达式转换为后缀表达式并计算结果~~第一个编译试验作业~-sergeant Chinese expression for the conversion and extension expression results ~ ~ a compiler test operations ~
translater
- 将简单中缀算术表达式变换成: (1)后缀形式 (2)对常量算术表达式,输出结果 简单中缀算术表达式是指由单个字母变量,自然数通过 +,-,*, DIV , MOD运算以及括号()构成的表达式,如 a + ( 5 MOD 2) * 2。 -will Infixation simple arithmetic expressions transform into : (a) the form of the suffix (2) constant arithmetic expressio
expression
- 该程序可以将简单中缀算术表达式变换成: (1)后缀形式 (2)生成书上描述的抽象堆栈机的代码 (3)对常量算术表达式,输出结果
for-else
- 本课程设计是一个编译器的设计,包括词法分析部分、语法分析部分和中间代码生成部分。词法分析部分既词法分析器的设计,词法分析是编译的基础,执行词法分析的程序称为词法分析器,也就是说编译程序中完成词法分析任务段就是词法分析器。语法分析部分为语法分析器的设计,采用LR(1)分析方法进行语法分析,判断给出的符号串是否为该文法识别的句子。中间代码生成器部分主要实现逆波兰式的生成,将用中缀式表示的算术表达式转换为用逆波兰式表示的算术表达式,并计算用逆波兰式来表示的算术表达式的值。
exp1
- 编译原理实验将简单中缀算术表达式变换成后缀形式
03
- 编译原理实验中有关中缀表达式转后缀表达式输出的程序代码.
InToPost
- 中缀表达式转换成后缀表达式算法,并求算术表达式的方法。-Infix expression into the expression suffix algorithm, and methods for arithmetic expressions.
siyuanshi
- 中缀表达式转换成四元式的代码,用C语言实现的-Infix expression into a quaternion-based code, using C language realization of the
compiler_infi_into_suffixform
- 编译原理课程实验:将简单中缀算术表达式变换成:(1)后缀形式;(2)生成书上描述的抽象堆栈机的代码;(3)对常量算术表达式,输出结果 -Compiler theory course experiment: a simple infix arithmetic expressions transform into: (1) suffix form (2) generate an abstract descr iption of the book stack machine code (3)
ReversePolishNotation
- 中缀表达式转换为逆波兰表达式,并计算逆波兰式结果。-Infix expression into Reverse Polish expression, and calculate the Reverse Polish Notation results.
ex1
- 《编译原理》表达式翻译器 构造一个中缀表达式到后缀表达式的翻译器,初步了解递归下降语法分析原理及语法制导翻译的过程。-Compiler theory expression translator construct an infix expression to postfix expression translator, a preliminary understanding of recursive descent parsing principle and Syntax translation
1
- 编译原理实验 表达式翻译器:一个中缀表达式到后缀表达式的翻译器 表达式文法及其翻译模式定义如下: expr expr + term {print(‘+’)} | expr - term {print(‘-’)}| term term term * factor {print(‘*’)} | term / factor {print(‘/’)} | factor factor ( expr ) | id {print(id.