搜索资源列表
1
- 利用递归下降法生成简单算术表达式的四元式序列
stack
- 假设一个算术表达式中可以包括三种括号:圆括号“(”和“)”,方括号“[”和“]”和花括号“{”和“}”且这三种括号可以按任意的次序嵌套使用(如:…[…{…}…[…]…]…[…]…(…)…)。编写判别给定表达式中所含括号是否正确配对出现的算法(已知表达式已存入数据元素为字符的顺序表中)-Suppose an arithmetic expression can include three types of brackets: parentheses " (" and " )
shujujiegou
- 数据结构里的哈夫曼编译码、内部排序算法、算术表达式求值运算实、一元稀疏多项式的计算、最短路径-shujujiegou
calculation
- 数据结构计算算术表达式算法,可以计算小数点及较复杂的运算表达式-Data structure algorithms calculate arithmetic expression, we can calculate the decimal point and more complex operations expression
judgebrackets
- 假设一个算术表达式中可以包含三种括号:圆括号“(”和“)”,方括号 “[”和“]”以及花括号“{”和“}”,且这三种括号可按任意的次序嵌套使 用。该算法用于判断给定表达式中所含括号是否配对出现。-Suppose an arithmetic expression can contain three types of brackets: parentheses " (" and " )" , in square brackets " ["
1
- 从键盘或文件读入一个合法的算术表达式,输出正确的结果-Read from the keyboard or file a valid arithmetic expression, the output correct results
ExpressionEvaluation
- 此程序实现简单算术表达式求值功能 参考了《数据结构 习题与解析 B级》 -This process simple arithmetic expression evaluation function
fa2
- (1)编制一个中间代码生成程序,能将算术表达式(如带有嵌套括号)等翻译成四元组。 (2)程序具有通用性,即能接受各种不同的算术表达式等语法成分。 (3)有运行实例.对于语法正确的算术表达式,能生成四元组序列,并输出结果;对不正确的表达式,能检测出错误。 (4)提交实习报告-(1) the preparation of an intermediate code generation process, can the arithmetic expression (such as with neste
37539468yuyi
- (1)编制一个中间代码生成程序,能将算术表达式(如带有嵌套括号)等翻译成四元组。 (2)程序具有通用性,即能接受各种不同的算术表达式等语法成分。 (3)有运行实例.对于语法正确的算术表达式,能生成四元组序列,并输出结果;对不正确的表达式,能检测出错误。 (4)提交实习报告-(1) the preparation of an intermediate code generation process, can the arithmetic expression (such as with neste
computer
- 可以进行普通的计算,科学计算,以及计算算术表达式。-Can be general computing, scientific computing, and to calculate the arithmetic expressions.
C
- 简单的C程序。可实现简单的算术表达式求值,只适合整数的表达式求值。-Simple C program. Simple arithmetic expressions can be evaluated only for integer expressions.
16008408_E1
- 1、实现算术表达式的求值运算,程序通过键盘输入一个表达式,通过运算得到表达式的值,并在显示器上输出完整的表达式及其值; 2、程序实现时,采用栈数据结构 3、表达式以字符串的形式输入; 4、表达式中包括的基本运算符有加、减、乘、除(分别用+、-、*、、表示),表达式中包括括号的处理,括号可以嵌套;表达式中的数字可以是整数,也可以是小数-1, and the evaluation of arithmetic operations, the program through keyboard
Design-of-operator-precedence
- 算符优先分析器设计 给定定义算术表达式的算符优先文法如下: G[E]: (1)E->E+T (2)E->E-T (3) E->T (4)T->T*F (5)T->T/F (6)T->F (7)F->P^F (8)F->P (9)P->(E) (10)P->i 编程实现此文法的算法优先分析器,并设输入的文法的句子为: (i*(i+i)-i )/i^i^i 给出输
qiuzhi
- 本实验的目的就是设计一个表达式求值的程序,程序中能接受包含(,),+,-,*,/, ,^的中缀表达式,从文件中读取算术表达式,并求出算术表达式的结果,在另一文件里输出-The purpose of this study is to design an expression evaluation process, the program can accept include (,),+,-,*,/, ,^ the infix expressions, arithmetic expressions
c
- 关于C语言算术表达式中“寻常算术转换”的问题 -On the C language arithmetic expression " ordinary arithmetic conversion" issue
shiyan2
- 四则混合运算表达式处理。 1. 一逆波兰表示输入的算术表达式。 2. 输出表达式树的各种遍历结果。 3. 打印表达式树。 4. 删除表达式树。 -Four hybrid operation expression processing. 1. That Poland entered a reverse arithmetic expressions. 2. Out all the expression tree traversal results. 3. Print the ex
include
- 数据结构题集C语言版中算术表达式求值演示-Arithmetic expression evaluation demo
RecursiveDescentParser
- 以下描述算术表达式的LL(1)文法的递归下降分析程序 G[E]: E→TE′ E′→ATE′|ε T→FT′ T′→MFT′|ε F→ (E)|i A→+|- M→*|/-The following descr iption of arithmetic expressions LL (1) recursive descent parser grammar G [E]: E → TE ' E' → ATE ' | ε T → FT' T
byq
- 编译器,词法分析器,算术表达式LR分析表的设计方法-Compiler, lexical analyzer
yufafenxichengxu
- (1)根据给定文法,先求出FirstVt和LastVt集合,构造算符优先关系表(要求算符优先关系表输出到屏幕或者输出到文件); (2)根据算法和优先关系表分析给定表达式是否是该文法识别的正确的算术表达式(要求输出归约过程) (3)实验要求独立完成,不允许有抄袭现象。 (4)实验完成后,要求提交源程序和上交实验报告(包括源程序清单)。 -(1) according to the given grammar, first find the FirstVt and LastVt col