⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 4.2.3.1.htm

📁 建立《编译原理网络课程》的目的不仅使学生掌握构造编译程序的原理和技术
💻 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='4.2.3.0b.htm'"></img></td>
<td><img src="../images/next.gif" onmouseover="javascript:style.cursor='hand'" onclick="vbscript:window.location.href='4.2.3.1b.htm'"></img></td>
</tr>
</table>
<br><br>
<table><tr><td>&nbsp&nbsp&nbsp&nbsp</td>       
<td class="content">       
<p>       
预测分析器的动作可以由包括栈的内容和余留的输入的各种配置来描述,见算法4.1。</p>      
<p>       
<font class="definition"><img border="0" src="images/dingyi.gif" width="32" height="31">算法4.1 </font> 非递归预测分析方法 
</p>     
<p>输入:一个输入符号串w 和文法G的一个分析表M。</p>  
<p>输出:若w 在L(G)中,w 的一个最左推导将被输出;否则将输出一个错误表示。</p> 
<p>方法:分析开始时,初始配置是:$在栈底,S在栈顶,S是G的开始符号;w$在缓冲器中。控制程序利用预测分析表M 对于输入作出一个分析,如图4.8所示。至于分析表的构造,我们本节稍后将作为重点予以讨论。</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='4.2.3.0b.htm'"></img></td>
<td><img src="../images/next.gif" onmouseover="javascript:style.cursor='hand'" onclick="vbscript:window.location.href='4.2.3.1b.htm'"></img></td>
</tr>      
</table>      
      
</BODY>      
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -