📄 5.0.htm
字号:
<html>
<head>
<title>编译原理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link type="text/css" rel="stylesheet" href="../css/specification.css">
</head>
<BODY>
<table align=right width=300>
<tr>
<td><img src="../images/previous.gif" onmouseover="javascript:style.cursor='hand'" onclick="vbscript:window.location.href='../c_4/4.10.0.3.htm'" ></td>
<td><img src="../images/next.gif" onmouseover="javascript:style.cursor='hand'" onclick="vbscript:window.location.href='5.0b.htm'"></td>
</tr>
</table>
<br><br>
<center><font class="title1">第五章 语法制导翻译</font></center><br>
<table><tr><td>    </td>
<td class="content">
<font class="title2"><b>学习目的</b></font>
<p><font class="emphasize">熟练掌握</font></p>
<p>1、语法制导定义的形式,综合属性,继承属性,依赖图和属性值计算顺序的概念;</p>
<p>2、建立表达式的语法树的语法制导定义;</p>
<p>3、S-属性定义,S-属性定义中属性值的计算;</p>
<p>4、L-属性定义,L-属性定义中的属性值的计算;</p>
<p>5、翻译模式的作用,从语法制导到翻译模式的变换方法;</p>
<p>6、从翻译模式中(仅含综合属性)消除直接左递归;</p>
<p>7、预测递归翻译器的设计;</p>
<p>8、构造一般程序语言的类型表达式;</p>
<p>9、构造一般程序语言类型检查的翻译模式。</p>
<br>
<p><font class="emphasize">掌握</font></p>
<p>1、设计一般程序语言成份的语法树(例如程序,while语句等);</p>
<p>2、自底向上计算继承属性。</p>
<p>3、类型等价中结构等价和名字等价的概念;</p>
<br>
<p><font class="emphasize">了解</font></p>
<p>1、消除翻译模式中的直接左递归(翻译模式中含继承属性);</p>
<p>2、基于分析树的一般属性值计算方法;</p>
<p>3、语法制导定义中属性值计算的一般方法;</p>
</td></tr></table>
<br>
<table align=right width=300>
<tr>
<td><img src="../images/previous.gif" onmouseover="javascript:style.cursor='hand'" onclick="vbscript:window.location.href='../c_4/4.10.0.3.htm'" ></td>
<td><img src="../images/next.gif" onmouseover="javascript:style.cursor='hand'" onclick="vbscript:window.location.href='5.0b.htm'"></td>
</table>
</BODY>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -