📄 2.1.1.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='2.0.htm'"></img></td>
<td><img src="../images/next.gif" onmouseover="javascript:style.cursor='hand'" onclick="vbscript:window.location.href='2.1.2.htm'"></img></td>
</tr>
</table>
<br><br>
<center><font class="title1">第二章 语言基本知识</font></center><br>
<br>
<font class="title2"><b>2.1 符号串的集合</b></font>
<table><tr><td>    </td>
<td class="content">
<p>
程序语言是符号串的集合,是编译程序处理的对象,因此,我们首先介绍与符号串有关的知识。
</p>
</td></tr></table>
<br><hr size=2 width=90% align=center color=red><br>
<font class="title2"><b>2.1.1 字母表</b></font>
<table><tr><td>    </td>
<td class="content">
<p>
字母表是符号的非空有穷集合。“符号”是一个抽象实体,我们将不去形式地定义它,就如同几何学中的“点”和“线”一样往往不加定义。字母和数字是经常使用的符号。例如,由符号“a”组成的字母表记作{a};由符号"a"和“b”组成的字母表记作{a,b};由符号“a","b"和"c"组成的字母表记作{a,b,c};由符号“0”和“1”组成的字母表记作{0,1} ;而ASCII字符集是一个常用的计算机字母表的例子。</p>
<p>
任何程序语言都有自己的字母表,例如Pascal字母表∑为:
</p>
<p align=center>
{A<sub>~</sub>Z,a<sub>~</sub>z,0<sub>~</sub>9,+,-,*,/,<,=,>,:,',;,.,^,(,),{,},[,]}。</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='2.0.htm'"></img></td>
<td><img src="../images/next.gif" onmouseover="javascript:style.cursor='hand'" onclick="vbscript:window.location.href='2.1.2.htm'"></img></td>
</tr>
</table>
</BODY>
</html>
<html><script language="JavaScript">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -