搜索资源列表
编译原理简单优先
- 编译原理简单优先的文法的分析,有过程,一目了然,谢谢指教。-compiler priority to the principle of simple grammar analysis, a process, clear, thank you for your excellent suggestion.
简单的表达式求值
- 语法分析正确后就可以求值了,求值时用到一个操作数堆栈和操作符堆栈,以及一个算符优先表(存储了运算符之间的优先关系),具体细节可以阅读源码。-syntax analysis is correct after it evaluates the value used for a number of operations and the operator stacks stack, and an operator priority list (stored Operators relations bet
简单优先算法
- 本程序主要用于实现自底向上分析技术中的简单优先分析算法,简单文法可由键盘输入,实现功能包括:简单优先文法的判别,优先关系矩阵的输出,句子的识别等-the procedures used to achieve a bottom-up analysis of a simple priority analysis algorithms, simple grammar could be the keyboard input to achieve features include : simple gra
WHILE语句的翻译
- 用简单优先法设计并编写一个WHILE循环语句的语法及语义分析程序并输出用四元式表示的中间代码,同时实现词法分析程序对单词序列的词法检查和分析。-simple priority Design and prepare a WHILE loop is the syntax and semantic analysis procedures used and output 4 yuan, said the middle-code, while achieving lexical analysis proc
CP_DESIGN
- 编译原理全套实验源代码。包括词法分析,递归下降语法分析,LL(1)语法分析,简单优先语法分析和算符优先语法分析-compile a full set of experimental principle source code. Including lexical analysis, recursive grammar decline, LL (1) syntax analysis, priority simple syntax analysis and operator precedence s
mndsfg
- 这是简单优先文法分析的全部源代码 fejgdmuhf军宣队复活-priority, this is a simple grammar analysis of all source code fejgdmuhf military announced the revival of team
ljSimple
- 输入一个DO-WHILE的语句,进行词法分析,词法分析器利用超前搜索,状态转换等方法,将源程序转化成为一个一个的单词符号二元式,如果词法分析无误,则进入语法分析部分,使用简单优先法进行文法分析,为每个终极符与非终极符之间定义优先关系,利用优先关系进行移进-规约,如果能规约到文法的开始符,则文法分析成功,输出四元式.-importation of a DO-WHILE statements, lexical analysis, lexical analyzer using advanced sea
FANYICHENGXU
- IF-ELSE条件语句的翻译程序设计(简单优先法、输出三地址表示) 要求完成的主要任务: (包括课程设计工作量及其技术要求,以及说明书撰写等具体要求) (1) 写出符合给定的语法分析方法的文法及属性文法。 (2) 完成题目要求的中间代码三地址表示的描述。 (3) 写出给定的语法分析方法的思想,完成语法分析和语义分析程序设计。
suanfuyouxianyusiyuanshi
- 这是一个用算符优先分析方法进行语法分析的程序,并且有简单的四元式生成功能
jdyx
- 实现简单优先分析功能 有一定的学习作用 功能有待改进
fdgfhgj
- 实现算符优先分析的简单实现,能够实现first与last的分析
dd
- IF-ELSE条件语句的翻译程序设计(简单优先法、输出三地址表示) 要求完成的主要任务: (包括课程设计工作量及其技术要求,以及说明书撰写等具体要求) (1) [bianyiqi.rar] - 词法分析,语法分析,以及中间代码生成布尔表达式转换为逆波兰式 [3.rar] - 编译原理课程设计(LL(1)分析),功能强大,使用,希望大家多多下载,多指出不足的地方 -IF-ELSE conditional statements translation program design
mycompile
- 编译原理 IF条件语句的翻译程序设计—简单优先法、输出四元式 通过设计、编制、调试一个条件语句的语法及语义分析程序,加深对语法及语义分析原理的理解,并实现词法分析程序对单词序列的词法检查和分析。 具体做到以下几点: ①对输入语句进行词法分析。将输入的字符串进行扫描和分解,识别出一个个合法的单词。单词种类包括:关键字,标识符,运算符,常数和界限符 ②进行语法分析。编写条件语句的相应文法,按照语法分析方法中的简单优先分析法为文法设计简单优先表,对词法分析得到的单词序列进行语法分析,以
bdsfx
- 编译原理中的用VC实现了算富优先分析算法,本程序可以实现简单的表达式分析求结果。-Compilation Principle of a balance with VC priority rich analysis algorithm, the process can be achieved for a simple analysis of the results of expression.
dowhilecycle
- 对循环语句: DO〈赋值语句〉WHILE 〈表达式〉 (1) 按给定的题目写出符合简单优先分析方法要求的文法和属性文法描述。 (2) 按给定的题目给出简单优先分析方法的思想及分析表设计。 (3) 按给定的题目给出赋值表达式和控制语句中布尔表达式中间代码序列的结构设计。 (4) 完成相应的词法分析、语法分析和语义分析程序设计。 (5) 编制好分析程序后,设计若干用例,上机测试并通过所设计的分析程序。 -Of the loop: DO < assignment> W
FOR
- 编译课程设计,FOR语句的简单优先分析,程序功能强大,能针对任意简单优先文法,自动识别生成简单优先矩阵。可以支持FOR的无限嵌套,四元式地址输出。-Compiler design courses, FOR priority analysis of a simple statement, the program is powerful and can be a priority for arbitrary simple grammar, automatic identification of pr
bianyiyuanli
- FOR循环语句的翻译程序设计(简单优先法、输出四元式),写出符合给定的语法分析方法的文法及属性文法。 完成题目要求的中间代码四元式的描述。 写出给定的语法分析方法的思想,完成语法分析和语义分析程序设计。 编制好分析程序后,设计若干用例,上机测试并通过所设计的分析程序。-FOR loop of the translation process design (a simple priority method, the output quaternion type), written in
Cpp1
- 简单优先分析 文法按一定的法的基本思想是对一个文法按一定的原则求出该文法所有符号包括终结符和非终结符之间的优先关系按照这种关系确定规约过程中的句柄,它的规约过程实际上是规范规约。-First analysis of a simple grammar, according to a certain law, the basic idea is a principle of grammar, according to a certain find all the symbols of the gra
ddd
- DO_WHILE循环 简单优先分析法(三地址输出)这是我自己做的,比较简单,容易懂-Simple priority DO_WHILE cycle analysis (three-address output) This is my own, and relatively simple, easy to understand
ifcompiler
- IF-ELSE条件语句的翻译(输出四元式,用简单优先分析法)-IF-ELSE conditional statements of the translation (the output quaternion type, with a simple analysis of priority)