搜索资源列表
mycompile
- 编译原理 IF条件语句的翻译程序设计—简单优先法、输出四元式 通过设计、编制、调试一个条件语句的语法及语义分析程序,加深对语法及语义分析原理的理解,并实现词法分析程序对单词序列的词法检查和分析。 具体做到以下几点: ①对输入语句进行词法分析。将输入的字符串进行扫描和分解,识别出一个个合法的单词。单词种类包括:关键字,标识符,运算符,常数和界限符 ②进行语法分析。编写条件语句的相应文法,按照语法分析方法中的简单优先分析法为文法设计简单优先表,对词法分析得到的单词序列进行语法分析,以
lexicalanalysis
- 对某一文法进行词法分析,识别文法中的关键字。界限符。数字。字母等 把各个单词赋以相应的属性-the lexical analysis of a grammar
forxunhuan
- 循环语句文法,给出该文法的属性文法,同时实现循环语句的翻译,生成的中间代码为四元式。-Loop grammar, given the grammar attribute grammar, while achieving the translation loop, the intermediate code for the quad-style.
For-loop-translation
- 含符合给定的语法分析方法的文法及属性文法。 含中间代码四元式的描述。 有给定的语法分析方法的思想,完成了语法分析和语义分析程序设计。 -With syntax analysis method given grammar and attribute grammars. Containing four yuan a descr iption of the intermediate code. Syntax analysis method given in the ideology, th
SHIYAN4
- 1、理解S属性文法自下而上翻译器的设计方法。 2、理解L属性文法自上而下翻译器的设计方法。 2、熟悉YACC(BISION,与YACC兼容)工具的使用,理解YACC工具的工作原理和利用YACC工具设计语法分析器和翻译器的方法。 -Design method of 1, understand the S attribute grammar from bottom to top. 2, understand the design method of the L attribut