搜索资源列表
atlyfscript
- 这是非常有挑战性的题目。对于用户输入的任意一个平面函数f(x),绘制出其函数曲线。这里最关键的技术难点就是如何实现计算表达式的值。在《编译原理》和《数据结构》的书中,都有对表达式运算方法的论述。说实在的,在编译型计算机语言中实现对用户输入表达式的运算是非常困难的。需要对表达式进行扫描,去括号,按照运算符的优先级生成2叉树,然后遍历该树生成逆波兰表达式,再然后通过栈的方法进行运算。如果在表达式中再包含有函数的话......描述起来都麻烦,
wu
- 写的是一个语法分析器 是用LR分析法分析一个布尔表达式,最后用逆波兰是输出,希望对大家有用-writes of a parser is LR analysis for a Boolean expression, with the final output is the inverse of Poland, a member of the useful!
21codes_del62755882442
- 将布尔表达式翻译成后缀式(即逆波兰式),中间有词法分析,语法分析及中间代码生成-Boolean expressions to be translated into the suffix- (reverse Polish), there is a lexical analysis, Grammatical analysis and intermediate code generator
zhanghui
- 布尔表达式的翻译,对输入的文法判断其合法性,并输出逆波兰表达式-Boolean expressions translation of input to judge the legitimacy of grammar and expression output inverse Poland
nibolan
- 逆波兰表达式,给那些上程序设计的孩子带来方便-Reverse Polish Notation bring convenience to those children on the program design
cal24point
- 用C写的一个算24点代码,使用逆波兰表达式的求值。-C counting write a 24 point code, the use of reverse Polish expression is evaluated.
polanshi111
- 逆波兰式计算数值 可以进行加减乘除以及括号运算 输入数字或未知数x都可以 程序有带改进-inverse Polish numerical calculations can be carried out brackets and the arithmetic operations figures or unknown input x can procedures had brought improvements
Expression070621
- 用栈实现中缀表达式求值的问题。同时实现了逆波兰表达式的问题。-with Stack realization sergeant expression evaluates problems. Simultaneously Poland expression of the inverse problem.
nbl
- 逆波兰式计算,将格式化数组转化为逆波兰表达式,a为输入的数组,n为其长度,p为输出逆波兰表达式的目标,m记录逆波兰表达式的长度 -inverse Polish, the array will be formatted into reverse Polish expression, a for the importation of arrays, its length n, p output of the inverse expressi
hxf
- 编译原理课程设计,输入布尔表达式,然后有系统自动转换为逆波兰四元式-compiler theory of curriculum design, the importation of Boolean expressions, and then the system automatically converted to reverse Poland four yuan-
zh
- 编译原理课程设计,输入布尔表达式,然后有系统自动转换为逆波兰四元式-compiler theory of curriculum design, the importation of Boolean expressions, and then the system automatically converted to reverse Poland four yuan-
MyODBCDBGridFile
- 编译原理课程设计,输入布尔表达式,然后有系统自动转换为逆波兰四元式-compiler theory of curriculum design, the importation of Boolean expressions, and then the system automatically converted to reverse Poland four yuan-
nibolanshi
- 逆波兰式的算法实现,输入中缀表达式,输出相应的转化结果-Reverse Polish-style algorithm, input infix expression, the transformation of the corresponding output results
for-else
- 本课程设计是一个编译器的设计,包括词法分析部分、语法分析部分和中间代码生成部分。词法分析部分既词法分析器的设计,词法分析是编译的基础,执行词法分析的程序称为词法分析器,也就是说编译程序中完成词法分析任务段就是词法分析器。语法分析部分为语法分析器的设计,采用LR(1)分析方法进行语法分析,判断给出的符号串是否为该文法识别的句子。中间代码生成器部分主要实现逆波兰式的生成,将用中缀式表示的算术表达式转换为用逆波兰式表示的算术表达式,并计算用逆
multinomial
- 一个定制的多项式计算器,采用逆波兰方式解读公式并计算其结果,可以在一些特殊条件下使用。-A customized polynomial calculator using Reverse Polish way of interpretation of the formula and calculate the results, you can use some special conditions.
xyz
- 线性顺序存储结构双链表正排序逆波兰计算器二叉排序树二叉树实例-Linear sequence of storage structure of double-linked list is sorted Reverse Polish Calculator Binary Sort Tree Binary Tree Example
luobo
- 基于递归下降分析法的循环语句WHILE E DO S1的语法及语义分析程序,其中E为布尔表达式,S1为赋值语句。输出的中间代码选用逆波兰式。-Decline based on recursive analysis loop WHILE E DO S1 syntax and semantic analysis procedures, including E for Boolean expressions, S1 for the assig
cck
- 基于递归下降分析法的循环语句WHILE E DO S1的语法及语义分析程序,其中E为布尔表达式,S1为赋值语句。输出的中间代码选用逆波兰式-Decline based on recursive analysis loop WHILE E DO S1 syntax and semantic analysis procedures, including E for Boolean expressions, S1 for the assign
bianyi
- 数据结构:设计存储中间结果及中间代码(逆波兰式)的数据结构; 算法:算符优先分析法的实现; -Data Structure: Design store intermediate results and intermediate code (Reverse Polish-type) data structure algorithm: analysis operator realization of priority