搜索资源列表
lr
- 给出该文法的属性文法,用LR分析法实现对赋值语句的翻译,给出翻译的逆波兰式结果。-Given the grammar attribute grammar, with the realization of LR analysis of the translation of assignment statements are given against the Polish translation of the results.
WHILE
- WHILE循环语句的翻译程序设计(LL(1)法、输出四元式)1 系统描述(问题域描述); 2 文法及属性文法的描述; -WHILE loop translation of program design (LL (1) method, the output quaternion type) a system descr iption (problem domain descr iption) two grammar and attribute grammar descr iption
LexicalAnalysis
- 1、根据以下的正规式,编制正规文法,画出状态图; 标识符 <字母>(<字母>|<数字字符>)* 十进制整数 0 | ((1|2|3|4|5|6|7|8|9)(0|1|2|3|4|5|6|7|8|9)*) 八进制整数 0(1|2|3|4|5|6|7)(0|1|2|3|4|5|6|7)* 十六进制整数 0x(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e
程序设计语言编译原理
- 高级语言程序编译原理 内容包括词法分析、语法分析、属性文法与语法制导翻译、语义分析与中间代码产生、符号表与运行时存储空间组织、优化与目标代码生成、并行编译技术。(Compiler design principles)