搜索资源列表
by31.rar
- 算法优先法实现算术表达式的语法分析
bysy2005
- 2002级计算机科学与技术专业(4-11班) 要求完成下述两个实验: 1、识别小型语言所有单词的词法分析程序设计(4机时) 2、算术表达式文法的递归下降分析程序设计(6机时) 实验一:词法分析器的构造与实现 -2002 Computer Science and Technology (4-11 classes) required to complete the following two experiments : one to identify all small l
算符优先—编译原理
- java实现的对算术表达式进行词法分析和语法分析,实现过程很简练,值得参考哦!-achieve the right arithmetic expression for lexical analysis and syntax analysis, implementation process is very concise and valuable reference Oh!
top_down
- 自上而下的语法分析方法 能对算术表达式进行语法分析并计算出表达式的值-top-down syntax analysis method for the arithmetic expression syntax analysis and calculate the value of the expression
编译课设
- 算术表达式词法和语法分析程序,递归下降法,四元式-arithmetic expression morphology and syntax analysis procedures, recursive method, four yuan -
多赋值语句算术表达式解析器2.2
- 能计算如下表达式:x=3 y=4 z=x^2+sin(y) -expression can be calculated as follows : 3 x = y = z = 4 x ^ 2 sin (y)
ruan
- 用递归下降法分析算术表达式的框图,主要完成: ⑴ 通知外界键入算术表达式; ⑵ 控制E过程分析算术表达式; ⑶ 根据分析结果之正误,分别通知外界不同的信息。
ssbdxqz
- 一个利用递归下降分析方法,实现算术表达式的值,是一个非常值得参考的程序,是学习编译原理的首选.-a decline in the use of recursive analysis method, the value of arithmetic expressions is a very worthwhile reference to the procedures, compiler theory is the study of choice.
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)分析方法进行语法分析,判断给出的符号串是否为该文法识别的句子。中间代码生成器部分主要实现逆波兰式的生成,将用中缀式表示的算术表达式转换为用逆波兰式表示的算术表达式,并计算用逆波兰式来表示的算术表达式的值。
2
- 编译原理中算术表达式的词法分析程序,用到了堆栈,有个别小错误
cal_2
- 一个可以读算术表达式,并计算出结果的编译器
cal_3
- 一个可以读算术表达式,并计算出结果的编译器
cal_4
- 一个可以读算术表达式,并计算出结果的编译器
算术表达式解析器
- 算术表达式解析器 .rar 支持变量和以下数学函数ABS, ATAN, COS, EXP, LN, ROUND,SIN, SQRT, SQR, TRUNC, NOT, BOOL, SGN\"-arithmetic expression parser. Rar support of the following variables and Math ABS, ATAN, COS, EXP, LN, ROUND, SIN, SQRT, SQR, TRUNC, NOT, BOOL, SGN &
算术表达式的词法分析和语法分析.rar
- 算术表达式的词法分析和语法分析,编译原理的实验,希望能和大家探讨。,arithmetic expression of lexical analysis and parsing, translation theory test, and we hope to explore.
C
- C#算术表达式求值我是的算法核心是逆波兰式.还有就是w3eval这个算术表达式求值算法很不错.但有一种表达式它会报错.我想这是一个BUG:w3eavl不能计算"-(3+5)"的值.或者类似的计算式.-C# Arithmetic expressions evaluate my algorithm is the core of Reverse Polish-style. W3eval there is the arithmetic expression evaluation algorithm is
InToPost
- 中缀表达式转换成后缀表达式算法,并求算术表达式的方法。-Infix expression into the expression suffix algorithm, and methods for arithmetic expressions.
grammar_1
- 编译原理的语法分析,分析的是算术表达式,进行递归应用,可以检查输入是否合法!-yeah,it is really good!!