搜索资源列表
biaodashiyunsuan
- 以字符序列的形式从键盘输入语法正确的,不含变量的整型表达式。利用算符优先关系,实现对算术四则混合运算表达式的求值,并在求值中运算符栈、运算数栈、输入字符和主要操作的变化过程-In the form of a sequence of characters from the keyboard input syntax is correct, excluding the variable of integer expressions. Change operator precedence relati
suanfuyouxian
- 输入一个文法根据算符优先分析法,将表达式进行语法分析,判断一个表达式是否为算符优先文法 输入一个句子进行分析-Enter a grammar based on operator priority analysis, expression parsing to determine an expression for the operator precedence grammar enter a sentence for analysis
compile
- 本人编写的编译原理的相关代码,使用VC6.0,实现了赋值语句。内部有四个工程,分别为:1.建成单词表,词法分析。2.字符优先处理。3.算符优先处理。4.算符优先—三地址。-I write compiler theory code, VC6.0, the assignment statement. Within four projects, namely: 1. Built word list, lexical analysis. 2. Character priority. 3 Operator
suanfu
- 编译原理课设 c++ 算符优先 自顶向下分析-C++ suanfuyouxian bianyiyuanlikechengsheji
suanfuyouxian
- 用C++实现编译器算符优先功能,程序简单易懂-operator precedence with C++
computer
- 实现简单java计算器图形界面以及简单的计算,实现了算符优先算法-Simple java calculator graphical interface and a simple calculation, operator precedence algorithm
q
- 实现算符优先分析,根据已有的文法判断正误,建立一个txt文件读入。必须以;号结尾-The priority operator analysis, according to the existing grammar to determine right from wrong, to establish a txt file reads. Must end to No.
compiler
- 本编译器主要有四部分功能: 1、词法分析 编制一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。(遇到错误时可显示“Error”,然后跳过错误部分继续显示)。 2、语法分析之递归下降分析 递归下降分析法的前提是文法必需为LL(1)文法,此功能为验证性功能,已经给出文法,输入一符号串,验证是否属于该文法的句子即可。 3、语法分析之LL(1)预测分析 此
Compiler1
- 使用C++编写的编译器,里面 包括了词法分析程序scanner.cpp,无符号数识别程序ucon.cpp,算符优先法语法语义处理程序SF.cpp,SLR1语法语义处理程序SLR1.cpp。比较强大。源程序输入有program.txt,输出包括窗口和compiled.txt-Using C++ to write compiler, which includes lexical analysis program scanner.cpp the number of symbols identifica
zhongzhuihouzhuizhuanhuan
- 演示用算符优先法对算术表达式求值的过程。 (1)从键盘输入任意一个语法正确的(中缀)表达式,显示并保存该表达式。 (2)利用栈结构,把上述(中缀)表达式转换成后缀表达式,并显示栈的状态变化过程和所得到的后缀表达式。 (3)利用栈结构,对上述后缀表达式进行求值,并显示栈的状态变化过程和最终结果。 -Demonstration by operator precedence for arithmetic expression evaluation process. (1) fro
yufafenxichengxu
- 这是一个简单的算符优先的语法分析程序。从文件输入文法规则以后,能够判断文法规则是否为算符优先的,并构造算符优先关系表,然后由用户输入一段合法的句子,然后对这个句子进行规约。-This is a simple operator precedence parser. From file input grammar rules, grammar rules can determine whether the operator precedence, and construct the operator
ExprEvalp28Morep29
- 算符优先的计算器,用于编译原理的课程作业-caculator for opp
first
- 算符优先文法,用C语言实现,提供大家参考,-Operator precedence grammar, using C language, provide reference
suanfu
- 算符优先分析法。根据你输入的文法,程序为你生成算符优先分析表,根据输入语句分析句子。基本功能具备-The operator precedence analysis method. Operator priority analysis table is generated for you based on your input grammar, procedures, analysis of sentences based on the input statement. Basic functio
sufuyouxian
- 算符优先,编译原理,C++写的源代码。课后习题册。-Operator precedence, compiler theory, C++ write the source code. After-school exercise book.
GrammerAnalysis
- 用MFC写的语法分析器,可以进行算符优先文法分析-Analysis of operator precedence grammar parser, written with MFC
sufu
- 2领会算符优先关系表转换成优先函数的方法-Operator priority relational tables of the 2 comprehend converted into priority a function of method
Expression
- 表达式计算采用了算符优先法正则表达式来实现,同时还能支持X变量的计算,是用来做画函数图的最佳类。如果要能画函数图的源代码请下载ExprDraw.zip.但此源代码采用了C语言方式实现其表达式计算。-Expression calculated using the operator precedence method to achieve regular expression, while supporting the calculation of the X variable, is the be
operator-precedence-analysis-code
- 编译原理算符优先算法源程序,附有CPP代码,程序有说明,用VC打开即可运行-Compiler theory of operator precedence algorithm source, with CPP the code, program descr iption, VC open to run
suanfuwenfa
- 实验要求 要求实现语法分析程序的以下功能: 把表达式首先经过词法分析形成二元式记号提供给语法分析程序 如果符合语法要求,形成一个语法树 实验三 算符优先分析 如果出现错误,指出错误的位置和类型 把语法树按照树的前序遍历的形式把所有的结点打印输出 按照某种规则计算出表达式的值-Experimental requirements requirements the parser following features: the expression first formed