📄 7.8.0b.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='7.8.0.htm'" ></td>
<td><img src="../images/next.gif" onmouseover="javascript:style.cursor='hand'"
onclick="vbscript:window.location.href='7.8.0c.htm'" ></td>
</tr>
</table>
<p><br>
<br>
<font class="title2"><b>练习</b></font> </p>
<table>
<tr>
<td> </td>
<td class="content">
7.4 修改图7.4中计算说明语句中的名字的类型及相对地址的翻译模式,以允许在形如D→id:T的说明中可用一串名字表来代替单个名字。<br>
</p>
<table align="center" width="70%">
<tr>
<td align="right"><img src="key.gif" onmouseover="javascript:style.cursor='hand'"
onclick="javascript:window.open('7.8.4.htm','','left=50,top=40,toolbar=no,scrollbars=yes,width=610,height=600')"
width="32" height="32"> </td>
</tr>
</table>
<p><a name="7.5"></a> </p>
<hr size="2" align="center" color="red">
<p><br>
7.5 试编写一个程序,用来实现表7.5中给出的将布尔表达式翻译成三地址代码的语法制导定义。
<br>
</p>
<table align="center" width="70%">
<tr>
<td align="right"><img src="key.gif" onmouseover="javascript:style.cursor='hand'"
onclick="javascript:window.open('7.8.5.htm','','left=50,top=40,toolbar=no,scrollbars=yes,width=800,height=600')"
width="32" height="32"> </td>
</tr>
</table>
<p><a name="7.6"></a> </p>
<hr size="2" align="center" color="red">
<p><br>
7.6 试编写一个程序,用来实现表76中给出的控制流语句的语法制导定义。
<br>
</p>
<table align="center" width="70%">
<tr>
<td align="right"><img src="key.gif" onmouseover="javascript:style.cursor='hand'"
onclick="javascript:window.open('7.8.6.htm','','left=50,top=40,toolbar=no,scrollbars=yes,width=800,height=600')"
width="32" height="32"> </td>
</tr>
</table>
<p><a name="7.7"></a> </p>
<hr size="2" align="center" color="red">
<p><br>
7.7 试编写一个程序、用来实现7.5节中的回填算法。 <br>
</p>
<table align="center" width="70%">
<tr>
<td align="right"><img src="key.gif" onmouseover="javascript:style.cursor='hand'"
onclick="javascript:window.open('7.8.7.htm','','left=50,top=40,toolbar=no,scrollbars=yes,width=620,height=600')"
width="32" height="32"> </td>
</tr>
</table>
<p><a name="7.8"></a> </p>
<hr size="2" align="center" color="red">
<p><br>
7.8 用7.3节的翻译模式将下列赋值语句译成三地址代码。 <br>
</p>
<table align="center" width="400">
<tr>
<td>A[i,j]:= B[i,j] +C[A[k,l]] +D[i+j]</td>
</tr>
</table>
<table align="center" width="70%">
<tr>
<td align="right"><img src="key.gif" onmouseover="javascript:style.cursor='hand'"
onclick="javascript:window.open('7.8.8.htm','','left=50,top=40,toolbar=no,scrollbars=yes,width=600,height=600')"
width="32" height="32"> </td>
</tr>
</table>
<hr size="2" align="center" color="red">
</td>
</tr>
</table>
<table align="right" width="300">
<tr>
<td><img src="../images/previous.gif" onmouseover="javascript:style.cursor='hand'"
onclick="vbscript:window.location.href='7.8.0.htm'" ></td>
<td><img src="../images/next.gif" onmouseover="javascript:style.cursor='hand'"
onclick="vbscript:window.location.href='7.8.0c.htm'" ></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -