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

📄 help.html

📁 形式文法分析JAVA工具包 本JAVA Applets程序提供对LL(1),LL(2)和LR(1)文法分析处理,用户可以输入任何满足条件的形式文法,通帮过系统的提示和帮助构造出相应文法的分析表,以及
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>JELLRAP</title>


<meta name="Microsoft Theme" content="clearday 101"><meta name="Microsoft Border" content="none"></head>

<body background="../../_themes/clearday/cdbkgnd.gif" bgcolor="#3366FF" text="#000000" link="#FF9933" vlink="#CC9900" alink="#FF6600">
<div align="center"><center>

<pre><font face="宋体"><a name="main"><big><big>JELLRAP帮助</big></big></a></font></pre>
</center></div>

<blockquote>
  <blockquote>
    <blockquote>
      <blockquote>
        <ol>
          <li><pre><font color="#FF8080" face="宋体"><a href="#gw">语法窗口</a></font></pre>
          </li>
          <li><pre><font face="宋体"><a href="#dataw">数据集窗口</a></font></pre>
          </li>
          <li><pre><font face="宋体"><a href="#dfaw">DFA窗口</a></font></pre>
          </li>
          <li><pre><font face="宋体"><a href="#pw">分析表窗口</a></font></pre>
          </li>
          <li><pre><font face="宋体"><a href="#tw">测试窗口</a></font></pre>
          </li>
        </ol>
      </blockquote>
    </blockquote>
  </blockquote>
</blockquote>

<p><font face="宋体"> </font></p>

<ol>
  <li><font face="宋体"><strong> <a name="gw">语法窗口</a></strong><br>
    <br>
    本窗口是形式文法的输入窗口,请将每个产生式填入窗口的表格中,<br>
    产生式的输入格式如下:<br>
    <br>
    </font><font face="楷体_GB2312"><strong>非终结符</strong></font><font face="宋体">: 
    用大写字母‘A’到‘Z’表示;<br>
    <br>
    </font><font face="楷体_GB2312"><strong>终结符</strong>:</font><font face="宋体"> 
    可以是小写字母,数字字符或下述符号:<br>
    %&nbsp; * + - . / &lt; &gt;&nbsp; [ ]<br>
    <br>
    </font><strong><font face="楷体_GB2312">产生式箭头</font></strong><font face="宋体">:&nbsp; '-&gt;' 或者用快捷键 &lt;CTRL&gt;+ '.'产生;<br>
    <br>
    </font><strong><font face="楷体_GB2312">空产生式</font></strong><font face="宋体">: 
    必须用'!'表示或者用快捷键 &lt;CTRL&gt;+ 'l'产生; <br>
    <br>
    </font><font face="楷体_GB2312"><strong>文法开始符号</strong></font><font face="宋体">: 'S' <br>
    <br>
    </font><strong><font face="楷体_GB2312">多条规则</font></strong><font face="宋体">: 
    输入一个非终结符的多条产生式,可按快捷键'|',系统<br>
    &nbsp;&nbsp;&nbsp; 将自动换行产生一个新的以原非终结符开始的产生式,等待输入<br>
    &nbsp;&nbsp;&nbsp; 产生式右边的符号串。<br>
    <br>
    当输入结束时请按“</font><strong><font face="楷体_GB2312">完成</font></strong><font face="宋体">”按钮,系统将检查输入的文法是否符合相应<br>
    &nbsp;&nbsp;&nbsp; 的条件,如果满足,系统将转入到首符号集窗口,否则将在弹出窗口显示<br>
    &nbsp;&nbsp;&nbsp; 错误信息。<br>
    <br>
    “</font><strong><font face="楷体_GB2312">清除</font></strong><font face="宋体">”按钮将清除所输入的文法。</font></li>
</ol>

<p><font face="宋体">&nbsp;&nbsp;&nbsp; <a href="#main">返回</a></font></p>

<ol start="2">
  <li><font face="宋体">&nbsp; <strong><a name="dataw">数据集窗口</a></strong><br>
    <br>
    这些窗口要求用户输入形式文法的数据集(首符号集,第二首符号<br>
    集,后随符号集和第二后随符号集),这些窗口都大体相似,但是<br>
    还是有细微的差别,特在此注明。 <br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></li>
</ol>

<blockquote>
  <p><font face="宋体"><strong>输入规则</strong>:</font></p>
</blockquote>

<p><strong><font face="楷体_GB2312">&nbsp;&nbsp; </font></strong><font face="宋体"> </font> 
&nbsp;&nbsp; <font face="宋体"> </font><strong><font face="楷体_GB2312">首符号集和后随符号集</font></strong><font face="宋体">:符号集中的每一个语法符号不能<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 用空格分隔。</font></p>

<p><font face="楷体_GB2312"><strong>&nbsp;&nbsp; </strong></font><font face="宋体"> </font> 
&nbsp;&nbsp; <font face="宋体"> </font><font face="楷体_GB2312"><strong>第二首符号集和第二后随符号集</strong></font><font face="宋体">:符号集中的每一个语法<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 符号一定要用空格分隔。</font></p>

<blockquote>
  <blockquote>
    <p><font face="楷体_GB2312"><strong>空串</strong></font><font face="宋体">: 
    和其它地方一样用‘!’表示,或者用&lt;ctrl&gt; + 'l'<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 表示。</font></p>
  </blockquote>
</blockquote>

<blockquote>
  <blockquote>
    <p><font face="宋体">'</font><strong><font face="楷体_GB2312">$</font></strong><font face="宋体">': 后随符号语句结束标记和通常一样用‘$’表示。</font></p>
  </blockquote>
</blockquote>

<blockquote>
  <p><font face="宋体"><strong>按钮</strong></font></p>
</blockquote>

<p><font face="楷体_GB2312"><strong>&nbsp;&nbsp; </strong></font><font face="宋体"> </font> 
&nbsp;&nbsp; <font face="宋体"> </font><font face="楷体_GB2312"><strong>返回</strong></font><font face="宋体">:放弃当前窗口,返回到语法窗口。当前窗口输入的内<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 容将丢失。</font></p>

<p><font face="楷体_GB2312"><strong>&nbsp;&nbsp; </strong></font><font face="宋体"> </font> 
&nbsp;&nbsp; <font face="宋体"> </font><font face="楷体_GB2312"><strong>清除</strong></font><font face="宋体">: 清除当前输入的内容。</font></p>

<p><strong><font face="楷体_GB2312">&nbsp;&nbsp; </font></strong><font face="宋体"> </font> 
&nbsp;&nbsp; <font face="宋体"> </font><strong><font face="楷体_GB2312">显示</font></strong><font face="宋体">:显示文法对应的正确的数据集。</font></p>

<p><strong><font face="楷体_GB2312">&nbsp;&nbsp; </font></strong><font face="宋体"> </font> 
&nbsp;&nbsp; <font face="宋体"> </font><strong><font face="楷体_GB2312">完成</font></strong><font face="宋体">: 系统将检查用户输入的数据集是否正确,如果正确,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 系统将转入到分析器设计的下一个窗口。否则系统<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 将把还有错误的数据集显示为黄色,让用户修改。</font></p>

<p><font face="楷体_GB2312"><strong>&nbsp;&nbsp; </strong></font><font face="宋体"> </font> 
&nbsp;&nbsp; <font face="宋体"> </font><font face="楷体_GB2312"><strong>帮助</strong></font><font face="宋体">:弹出此窗口。</font></p>

<p><font face="宋体">&nbsp;&nbsp;&nbsp; <a href="#main">返回</a></font></p>

<p><font face="宋体"> </font></p>

<ol start="3">
  <li><strong><font face="宋体"><a name="dfaw">DFA窗口</a></font></strong></li>
</ol>

<p><font face="宋体">&nbsp;&nbsp;&nbsp; <strong>概述</strong><br>
&nbsp;&nbsp; <strong> </strong>&nbsp;&nbsp; <strong> </strong>本窗口提供创建自动机的图形工具,利用鼠标我们能够很方便地在<br>
&nbsp;&nbsp;&nbsp; 窗口的画板上设计出自动机的状态转换图</font></p>

<blockquote>
  <p><font face="宋体"><strong>状态</strong><br>
  &nbsp;&nbsp; <strong>创建</strong>: 将鼠标移动到画板的一个空白区域, 
  按下SHIFT+鼠标<br>
  左键即可创建一个新的状态,系统同时为新创建的<br>
  状态进行编号,状态在初建是颜色为黄色,表示状<br>
  态还没有和项目集对应。</font></p>
</blockquote>

<p><font face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>移动</strong>: 
移动鼠标到想要移动的状态上, 按下SHIFT不放, 按<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 左键并同时拖动鼠标即可移动当前选中的状态. 
<br>
</font></p>

<p><font face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>删除</strong>: 
移动鼠标到想要删除的状态上,按鼠标右键,系统将弹<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 出窗口,选择弹出窗口的删除项即可<br>
</font></p>

<p><font face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>设为初始(终止)状态</strong>: 
同删除操作一样,但是选择弹出窗口不<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 同的选项.</font></p>

<p><font face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>显示闭包</strong>: 
显示闭包,系统将弹出闭包窗口,要求用户输入状<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 态所对应的项目集.在输入项目集时,项目中的圆点用<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 下划线'_'表示,在项目集输入完成后,请按项目集窗口<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 的「</font><strong><font face="楷体_GB2312">完成</font></strong><font face="宋体">」按钮,系统将自动指定该项目集为该状态对<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 应的项目集。如果项目集有误,系统将提醒用户修改,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 用户也可以用「</font><strong><font face="楷体_GB2312">显示</font></strong><font face="宋体">」按钮来显示正确的项目集。<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 「</font><font face="楷体_GB2312"><strong>隐藏</strong></font><font face="宋体">」按钮将关闭项目集窗口。在完成项目集和状态<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 对应之后,状态将显示为绿色。</font></p>

⌨️ 快捷键说明

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