搜索资源列表
file_scaner
- 扫描器类的设计1. 构造算术表达式的四元式翻译文法 2. 设计算术表达式的递归下降子程序分析算法 3. 设计算术表达的四元式生成算法 4. 实现代码并调试运行 -scanner category of a design. Construction arithmetic expressions four yuan grammar-translation 2. Design arithmetic expression analysis subroutine decline recur
lexanalyse
- 本程序实现了算术表达式的词法分析,并且生成了符号表
逆波兰表达式
- 计算用运算符后缀法表示的表达式的值。后缀表达式也称逆波兰表达式,比中缀表达式计算起来更方便简单些,中缀表达式要计算就存在着括号的匹配问题,所以在计算表达式值时一般都是先转换成后缀表达式,再用后缀法计算表达式的值。如:表达式(a+b*c)/d-e用后缀法表示应为abc*+d/e-。只考虑四则算术运算,且假设输入的操作数均为1位十进制数(0—9),并且输入的后缀形式表达式不含语法错误-calculated Operators suffix France said the value of the e
CPU
- 用VC++模拟单周期cpu,是体系结构课程的一次作业,包括硬件设计,指令设计等,仅十几条汇编指令啦,程序还支持堆栈操作,能进行算术运算,输入运算表达式就能自动生成汇编代码,代码装载后可以调试运行,支持单步和全速运行-Using VC++ simulation of single-cycle cpu, is a one-stop course architecture, including hardware design, instruction design, only dozens of as
calculator
- 实现计算器的功能。主要功能要求如下: ⑴ 计算任意一个常量算术表达式的加法、减法、除法以及乘法。运算数可缺省为十进制的整数和小数,其它可选项为二进制,八进制和十六进制。 ⑵ 实现计算器的其它功能,如求对数,平方根等。 ⑶ 要求使用图形界面。人机界面友好。如用户输入错误在计算之前可以修改 -Achieve the function of the calculator. The main functional requirements are as follows: ⑴ calcul
Compile_Lab4
- 编译原理作业 算符优先语法分析 实现算符优先分析算法,完成以下描述算术表达式的算符优先文法的算符优先分析过程。 G[E]:E→E+T∣E-T∣T T→T*F∣T/F∣F F→(E)∣i-Compilation Principle operating operator precedence parsing algorithm to achieve operator priority analysis, complete the following descr ipti
expression_calculation
- 利用栈实现的算术表达式计算程序,语言为纯c。开发工具为vc6。-use Stack arithmetic expression calculation procedures, language pure c. Development tools for vc6.
qxpressedtree
- 题目内容:在以二叉树表示算术表达式的基础上,设计一个十进制的四则运算的计算器-Subject content: in expressed as a binary tree arithmetic expression, on the basis of the design of a decimal arithmetic calculator
gjnj
- 此算术表达式能够在程序运行时根据输入的变量大小和算术表达式动态解析表达式()
cbmgufn
- 表达式的解析,主要是算术表达式的分析,分析成四元式,不错的()
vsuudo
- 题目内容:在以二叉树表示算术表达式的基础上,设计一个十进制的四则运算的计算器()