gigatron/rom/Docs/TinyBASIC_v3.xhtml
2025-01-28 19:17:01 +03:00

1049 lines
63 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="generator" content="Railroad Diagram Generator 1.49.1712" /><style type="text/css">
::-moz-selection
{
color: #FFFCF0;
background: #0F0C00;
}
::selection
{
color: #FFFCF0;
background: #0F0C00;
}
.ebnf a
{
text-decoration: none;
}
.ebnf a:hover
{
color: #050400;
text-decoration: underline;
}
.signature
{
color: #806600;
font-size: 11px;
text-align: right;
}
body
{
font: normal 12px Verdana, sans-serif;
color: #0F0C00;
background: #FFFCF0;
}
a:link, a:visited
{
color: #0F0C00;
}
a:link.signature, a:visited.signature
{
color: #806600;
}
a.button, #tabs li a
{
padding: 0.25em 0.5em;
border: 1px solid #806600;
background: #F1E8C6;
color: #806600;
text-decoration: none;
font-weight: bold;
}
a.button:hover, #tabs li a:hover
{
color: #050400;
background: #FFF6D1;
border-color: #050400;
}
#tabs
{
padding: 3px 10px;
margin-left: 0;
margin-top: 58px;
border-bottom: 1px solid #0F0C00;
}
#tabs li
{
list-style: none;
margin-left: 5px;
display: inline;
}
#tabs li a
{
border-bottom: 1px solid #0F0C00;
}
#tabs li a.active
{
color: #0F0C00;
background: #FFFCF0;
border-color: #0F0C00;
border-bottom: 1px solid #FFFCF0;
outline: none;
}
#divs div
{
display: none;
overflow:auto;
}
#divs div.active
{
display: block;
}
#text
{
border-color: #806600;
background: #FFFEFA;
color: #050400;
}
.small
{
vertical-align: top;
text-align: right;
font-size: 9px;
font-weight: normal;
line-height: 120%;
}
td.small
{
padding-top: 0px;
}
.hidden
{
visibility: hidden;
}
td:hover .hidden
{
visibility: visible;
}
div.download
{
display: none;
background: #FFFCF0;
position: absolute;
right: 34px;
top: 94px;
padding: 10px;
border: 1px dotted #0F0C00;
}
#divs div.ebnf, div.ebnf
{
display: block;
padding-left: 16px;
padding-top: 2px;
padding-bottom: 2px;
background: #FFF6D1;
}
tr.option-line td:first-child
{
text-align: right
}
tr.option-text td
{
padding-bottom: 10px
}
table.palette
{
border-top: 1px solid #050400;
border-right: 1px solid #050400;
margin-bottom: 4px
}
td.palette
{
border-bottom: 1px solid #050400;
border-left: 1px solid #050400;
}
a.palette
{
padding: 2px 3px 2px 10px;
text-decoration: none;
}
.palette
{
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
-ms-user-select: none;
}
</style><svg xmlns="http://www.w3.org/2000/svg">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
</svg>
<style type="text/css"></style></head>
<body>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="Line">Line:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="274" height="68">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 17 1 13 1 21"/>
<polygon points="17 17 9 13 9 21"/>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Number" xlink:title="Number">
<rect x="51" y="35" width="66" height="32"/>
<rect x="49" y="33" width="66" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="53">Number</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Statements" xlink:title="Statements">
<rect x="157" y="3" width="90" height="32"/>
<rect x="155" y="1" width="90" height="32" class="nonterminal"/>
<text class="nonterminal" x="165" y="21">Statements</text>
</a>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 17 h2 m20 0 h10 m0 0 h76 m-106 0 h20 m86 0 h20 m-126 0 q10 0 10 10 m106 0 q0 -10 10 -10 m-116 10 v12 m106 0 v-12 m-106 12 q0 10 10 10 m86 0 q10 0 10 -10 m-96 10 h10 m66 0 h10 m20 -32 h10 m90 0 h10 m3 0 h-3"/>
<polygon points="265 17 273 13 273 21"/>
<polygon points="265 17 257 13 257 21"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#Line" title="Line">Line</a> ::= <a href="#Number" title="Number">Number</a>? <a href="#Statements" title="Statements">Statements</a></xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">no references</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="Statements">Statements:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="180" height="80">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 61 1 57 1 65"/>
<polygon points="17 61 9 57 9 65"/>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Statement" xlink:title="Statement">
<rect x="51" y="47" width="82" height="32"/>
<rect x="49" y="45" width="82" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="65">Statement</text>
</a>
<rect x="51" y="3" width="24" height="32" rx="10"/>
<rect x="49" y="1" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="21">:</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 61 h2 m20 0 h10 m82 0 h10 m-122 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m102 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-102 0 h10 m24 0 h10 m0 0 h58 m23 44 h-3"/>
<polygon points="171 61 179 57 179 65"/>
<polygon points="171 61 163 57 163 65"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#Statements" title="Statements">Statements</a>
::= <a href="#Statement" title="Statement">Statement</a> ( ':' <a href="#Statement" title="Statement">Statement</a> )*</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#Line" title="Line">Line</xhtml:a></xhtml:li>
<xhtml:li><xhtml:a href="#Statement" title="Statement">Statement</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="Statement">Statement:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="698" height="1232">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 51 1 47 1 55"/>
<polygon points="17 51 9 47 9 55"/>
<rect x="71" y="37" width="48" height="32" rx="10"/>
<rect x="69" y="35" width="48" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="55">REM</text>
<rect x="71" y="81" width="24" height="32" rx="10"/>
<rect x="69" y="79" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="99">'</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Character" xlink:title="Character">
<rect x="179" y="3" width="78" height="32"/>
<rect x="177" y="1" width="78" height="32" class="nonterminal"/>
<text class="nonterminal" x="187" y="21">Character</text>
</a>
<rect x="71" y="147" width="62" height="32" rx="10"/>
<rect x="69" y="145" width="62" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="165">PRINT</text>
<rect x="71" y="191" width="26" height="32" rx="10"/>
<rect x="69" y="189" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="209">?</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#String" xlink:title="String">
<rect x="233" y="147" width="54" height="32"/>
<rect x="231" y="145" width="54" height="32" class="nonterminal"/>
<text class="nonterminal" x="241" y="165">String</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Expression" xlink:title="Expression">
<rect x="233" y="191" width="84" height="32"/>
<rect x="231" y="189" width="84" height="32" class="nonterminal"/>
<text class="nonterminal" x="241" y="209">Expression</text>
</a>
<rect x="377" y="147" width="24" height="32" rx="10"/>
<rect x="375" y="145" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="385" y="165">,</text>
<rect x="377" y="191" width="24" height="32" rx="10"/>
<rect x="375" y="189" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="385" y="209">;</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#String" xlink:title="String">
<rect x="501" y="179" width="54" height="32"/>
<rect x="499" y="177" width="54" height="32" class="nonterminal"/>
<text class="nonterminal" x="509" y="197">String</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Expression" xlink:title="Expression">
<rect x="501" y="223" width="84" height="32"/>
<rect x="499" y="221" width="84" height="32" class="nonterminal"/>
<text class="nonterminal" x="509" y="241">Expression</text>
</a>
<rect x="71" y="267" width="38" height="32" rx="10"/>
<rect x="69" y="265" width="38" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="285">AT</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Expression" xlink:title="Expression">
<rect x="149" y="299" width="84" height="32"/>
<rect x="147" y="297" width="84" height="32" class="nonterminal"/>
<text class="nonterminal" x="157" y="317">Expression</text>
</a>
<rect x="253" y="299" width="24" height="32" rx="10"/>
<rect x="251" y="297" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="261" y="317">,</text>
<rect x="71" y="343" width="46" height="32" rx="10"/>
<rect x="69" y="341" width="46" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="361">PUT</text>
<rect x="91" y="387" width="52" height="32" rx="10"/>
<rect x="89" y="385" width="52" height="32" class="terminal" rx="10"/>
<text class="terminal" x="99" y="405">LINE</text>
<rect x="91" y="431" width="56" height="32" rx="10"/>
<rect x="89" y="429" width="56" height="32" class="terminal" rx="10"/>
<text class="terminal" x="99" y="449">POKE</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Expression" xlink:title="Expression">
<rect x="187" y="387" width="84" height="32"/>
<rect x="185" y="385" width="84" height="32" class="nonterminal"/>
<text class="nonterminal" x="195" y="405">Expression</text>
</a>
<rect x="291" y="387" width="24" height="32" rx="10"/>
<rect x="289" y="385" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="299" y="405">,</text>
<rect x="71" y="475" width="58" height="32" rx="10"/>
<rect x="69" y="473" width="58" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="493">GOTO</text>
<rect x="91" y="551" width="44" height="32" rx="10"/>
<rect x="89" y="549" width="44" height="32" class="terminal" rx="10"/>
<text class="terminal" x="99" y="569">LET</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Variable" xlink:title="Variable">
<rect x="175" y="519" width="66" height="32"/>
<rect x="173" y="517" width="66" height="32" class="nonterminal"/>
<text class="nonterminal" x="183" y="537">Variable</text>
</a>
<rect x="281" y="551" width="26" height="32" rx="10"/>
<rect x="279" y="549" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="289" y="569">(</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Expression" xlink:title="Expression">
<rect x="327" y="551" width="84" height="32"/>
<rect x="325" y="549" width="84" height="32" class="nonterminal"/>
<text class="nonterminal" x="335" y="569">Expression</text>
</a>
<rect x="431" y="551" width="26" height="32" rx="10"/>
<rect x="429" y="549" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="439" y="569">)</text>
<rect x="497" y="519" width="30" height="32" rx="10"/>
<rect x="495" y="517" width="30" height="32" class="terminal" rx="10"/>
<text class="terminal" x="505" y="537">=</text>
<rect x="71" y="595" width="48" height="32" rx="10"/>
<rect x="69" y="593" width="48" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="613">FOR</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Variable" xlink:title="Variable">
<rect x="139" y="595" width="66" height="32"/>
<rect x="137" y="593" width="66" height="32" class="nonterminal"/>
<text class="nonterminal" x="147" y="613">Variable</text>
</a>
<rect x="225" y="595" width="30" height="32" rx="10"/>
<rect x="223" y="593" width="30" height="32" class="terminal" rx="10"/>
<text class="terminal" x="233" y="613">=</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Expression" xlink:title="Expression">
<rect x="275" y="595" width="84" height="32"/>
<rect x="273" y="593" width="84" height="32" class="nonterminal"/>
<text class="nonterminal" x="283" y="613">Expression</text>
</a>
<rect x="379" y="595" width="38" height="32" rx="10"/>
<rect x="377" y="593" width="38" height="32" class="terminal" rx="10"/>
<text class="terminal" x="387" y="613">TO</text>
<rect x="71" y="639" width="66" height="32" rx="10"/>
<rect x="69" y="637" width="66" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="657">GOSUB</text>
<rect x="71" y="683" width="58" height="32" rx="10"/>
<rect x="69" y="681" width="58" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="701">MODE</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Expression" xlink:title="Expression">
<rect x="567" y="267" width="84" height="32"/>
<rect x="565" y="265" width="84" height="32" class="nonterminal"/>
<text class="nonterminal" x="575" y="285">Expression</text>
</a>
<rect x="51" y="727" width="46" height="32" rx="10"/>
<rect x="49" y="725" width="46" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="745">CLS</text>
<rect x="51" y="771" width="34" height="32" rx="10"/>
<rect x="49" y="769" width="34" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="789">IF</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Expression" xlink:title="Expression">
<rect x="105" y="771" width="84" height="32"/>
<rect x="103" y="769" width="84" height="32" class="nonterminal"/>
<text class="nonterminal" x="113" y="789">Expression</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#RelOp" xlink:title="RelOp">
<rect x="209" y="771" width="54" height="32"/>
<rect x="207" y="769" width="54" height="32" class="nonterminal"/>
<text class="nonterminal" x="217" y="789">RelOp</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Expression" xlink:title="Expression">
<rect x="283" y="771" width="84" height="32"/>
<rect x="281" y="769" width="84" height="32" class="nonterminal"/>
<text class="nonterminal" x="291" y="789">Expression</text>
</a>
<rect x="407" y="803" width="54" height="32" rx="10"/>
<rect x="405" y="801" width="54" height="32" class="terminal" rx="10"/>
<text class="terminal" x="415" y="821">THEN</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Statements" xlink:title="Statements">
<rect x="501" y="771" width="90" height="32"/>
<rect x="499" y="769" width="90" height="32" class="nonterminal"/>
<text class="nonterminal" x="509" y="789">Statements</text>
</a>
<rect x="71" y="869" width="62" height="32" rx="10"/>
<rect x="69" y="867" width="62" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="887">INPUT</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Variable" xlink:title="Variable">
<rect x="193" y="869" width="66" height="32"/>
<rect x="191" y="867" width="66" height="32" class="nonterminal"/>
<text class="nonterminal" x="201" y="887">Variable</text>
</a>
<rect x="279" y="869" width="24" height="32" rx="10"/>
<rect x="277" y="867" width="24" height="32" class="terminal" rx="10"/>
<text class="terminal" x="287" y="887">,</text>
<rect x="71" y="935" width="54" height="32" rx="10"/>
<rect x="69" y="933" width="54" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="953">NEXT</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Variable" xlink:title="Variable">
<rect x="383" y="869" width="66" height="32"/>
<rect x="381" y="867" width="66" height="32" class="nonterminal"/>
<text class="nonterminal" x="391" y="887">Variable</text>
</a>
<rect x="51" y="979" width="74" height="32" rx="10"/>
<rect x="49" y="977" width="74" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="997">RETURN</text>
<rect x="51" y="1023" width="50" height="32" rx="10"/>
<rect x="49" y="1021" width="50" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="1041">NEW</text>
<rect x="51" y="1067" width="50" height="32" rx="10"/>
<rect x="49" y="1065" width="50" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="1085">LIST</text>
<rect x="51" y="1111" width="48" height="32" rx="10"/>
<rect x="49" y="1109" width="48" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="1129">RUN</text>
<rect x="51" y="1155" width="46" height="32" rx="10"/>
<rect x="49" y="1153" width="46" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="1173">END</text>
<rect x="51" y="1199" width="54" height="32" rx="10"/>
<rect x="49" y="1197" width="54" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="1217">SAVE</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 51 h2 m40 0 h10 m48 0 h10 m-88 0 h20 m68 0 h20 m-108 0 q10 0 10 10 m88 0 q0 -10 10 -10 m-98 10 v24 m88 0 v-24 m-88 24 q0 10 10 10 m68 0 q10 0 10 -10 m-78 10 h10 m24 0 h10 m0 0 h24 m40 -44 h10 m0 0 h88 m-118 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -14 q0 -10 10 -10 m98 34 l20 0 m-20 0 q10 0 10 -10 l0 -14 q0 -10 -10 -10 m-98 0 h10 m78 0 h10 m20 34 h374 m-640 0 h20 m620 0 h20 m-660 0 q10 0 10 10 m640 0 q0 -10 10 -10 m-650 10 v90 m640 0 v-90 m-640 90 q0 10 10 10 m620 0 q10 0 10 -10 m-610 10 h10 m62 0 h10 m-102 0 h20 m82 0 h20 m-122 0 q10 0 10 10 m102 0 q0 -10 10 -10 m-112 10 v24 m102 0 v-24 m-102 24 q0 10 10 10 m82 0 q10 0 10 -10 m-92 10 h10 m26 0 h10 m0 0 h36 m80 -44 h10 m54 0 h10 m0 0 h30 m-124 0 h20 m104 0 h20 m-144 0 q10 0 10 10 m124 0 q0 -10 10 -10 m-134 10 v24 m124 0 v-24 m-124 24 q0 10 10 10 m104 0 q10 0 10 -10 m-114 10 h10 m84 0 h10 m40 -44 h10 m24 0 h10 m-64 0 h20 m44 0 h20 m-84 0 q10 0 10 10 m64 0 q0 -10 10 -10 m-74 10 v24 m64 0 v-24 m-64 24 q0 10 10 10 m44 0 q10 0 10 -10 m-54 10 h10 m24 0 h10 m-228 -44 l20 0 m-1 0 q-9 0 -9 -10 l0 -12 q0 -10 10 -10 m228 32 l20 0 m-20 0 q10 0 10 -10 l0 -12 q0 -10 -10 -10 m-228 0 h10 m0 0 h218 m-268 32 h20 m268 0 h20 m-308 0 q10 0 10 10 m288 0 q0 -10 10 -10 m-298 10 v58 m288 0 v-58 m-288 58 q0 10 10 10 m268 0 q10 0 10 -10 m-278 10 h10 m0 0 h258 m40 -78 h10 m0 0 h94 m-124 0 h20 m104 0 h20 m-144 0 q10 0 10 10 m124 0 q0 -10 10 -10 m-134 10 v12 m124 0 v-12 m-124 12 q0 10 10 10 m104 0 q10 0 10 -10 m-114 10 h10 m54 0 h10 m0 0 h30 m-114 -10 v20 m124 0 v-20 m-124 20 v24 m124 0 v-24 m-124 24 q0 10 10 10 m104 0 q10 0 10 -10 m-114 10 h10 m84 0 h10 m20 -76 h46 m-630 -10 v20 m640 0 v-20 m-640 20 v100 m640 0 v-100 m-640 100 q0 10 10 10 m620 0 q10 0 10 -10 m-610 10 h10 m38 0 h10 m20 0 h10 m0 0 h138 m-168 0 h20 m148 0 h20 m-188 0 q10 0 10 10 m168 0 q0 -10 10 -10 m-178 10 v12 m168 0 v-12 m-168 12 q0 10 10 10 m148 0 q10 0 10 -10 m-158 10 h10 m84 0 h10 m0 0 h10 m24 0 h10 m20 -32 h230 m-496 0 h20 m476 0 h20 m-516 0 q10 0 10 10 m496 0 q0 -10 10 -10 m-506 10 v56 m496 0 v-56 m-496 56 q0 10 10 10 m476 0 q10 0 10 -10 m-486 10 h10 m46 0 h10 m0 0 h410 m-486 -10 v20 m496 0 v-20 m-496 20 v24 m496 0 v-24 m-496 24 q0 10 10 10 m476 0 q10 0 10 -10 m-466 10 h10 m52 0 h10 m0 0 h4 m-96 0 h20 m76 0 h20 m-116 0 q10 0 10 10 m96 0 q0 -10 10 -10 m-106 10 v24 m96 0 v-24 m-96 24 q0 10 10 10 m76 0 q10 0 10 -10 m-86 10 h10 m56 0 h10 m20 -44 h10 m84 0 h10 m0 0 h10 m24 0 h10 m0 0 h212 m-486 -10 v20 m496 0 v-20 m-496 20 v68 m496 0 v-68 m-496 68 q0 10 10 10 m476 0 q10 0 10 -10 m-486 10 h10 m58 0 h10 m0 0 h398 m-486 -10 v20 m496 0 v-20 m-496 20 v24 m496 0 v-24 m-496 24 q0 10 10 10 m476 0 q10 0 10 -10 m-466 10 h10 m0 0 h54 m-84 0 h20 m64 0 h20 m-104 0 q10 0 10 10 m84 0 q0 -10 10 -10 m-94 10 v12 m84 0 v-12 m-84 12 q0 10 10 10 m64 0 q10 0 10 -10 m-74 10 h10 m44 0 h10 m20 -32 h10 m66 0 h10 m20 0 h10 m0 0 h186 m-216 0 h20 m196 0 h20 m-236 0 q10 0 10 10 m216 0 q0 -10 10 -10 m-226 10 v12 m216 0 v-12 m-216 12 q0 10 10 10 m196 0 q10 0 10 -10 m-206 10 h10 m26 0 h10 m0 0 h10 m84 0 h10 m0 0 h10 m26 0 h10 m20 -32 h10 m30 0 h10 m-486 -10 v20 m496 0 v-20 m-496 20 v56 m496 0 v-56 m-496 56 q0 10 10 10 m476 0 q10 0 10 -10 m-486 10 h10 m48 0 h10 m0 0 h10 m66 0 h10 m0 0 h10 m30 0 h10 m0 0 h10 m84 0 h10 m0 0 h10 m38 0 h10 m0 0 h110 m-486 -10 v20 m496 0 v-20 m-496 20 v24 m496 0 v-24 m-496 24 q0 10 10 10 m476 0 q10 0 10 -10 m-486 10 h10 m66 0 h10 m0 0 h390 m-486 -10 v20 m496 0 v-20 m-496 20 v24 m496 0 v-24 m-496 24 q0 10 10 10 m476 0 q10 0 10 -10 m-486 10 h10 m58 0 h10 m0 0 h398 m20 -416 h10 m84 0 h10 m-630 -10 v20 m640 0 v-20 m-640 20 v440 m640 0 v-440 m-640 440 q0 10 10 10 m620 0 q10 0 10 -10 m-630 10 h10 m46 0 h10 m0 0 h554 m-630 -10 v20 m640 0 v-20 m-640 20 v24 m640 0 v-24 m-640 24 q0 10 10 10 m620 0 q10 0 10 -10 m-630 10 h10 m34 0 h10 m0 0 h10 m84 0 h10 m0 0 h10 m54 0 h10 m0 0 h10 m84 0 h10 m20 0 h10 m0 0 h64 m-94 0 h20 m74 0 h20 m-114 0 q10 0 10 10 m94 0 q0 -10 10 -10 m-104 10 v12 m94 0 v-12 m-94 12 q0 10 10 10 m74 0 q10 0 10 -10 m-84 10 h10 m54 0 h10 m20 -32 h10 m90 0 h10 m0 0 h60 m-630 -10 v20 m640 0 v-20 m-640 20 v78 m640 0 v-78 m-640 78 q0 10 10 10 m620 0 q10 0 10 -10 m-610 10 h10 m62 0 h10 m40 0 h10 m66 0 h10 m0 0 h10 m24 0 h10 m-150 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -12 q0 -10 10 -10 m130 32 l20 0 m-20 0 q10 0 10 -10 l0 -12 q0 -10 -10 -10 m-130 0 h10 m0 0 h120 m-170 32 h20 m170 0 h20 m-210 0 q10 0 10 10 m190 0 q0 -10 10 -10 m-200 10 v14 m190 0 v-14 m-190 14 q0 10 10 10 m170 0 q10 0 10 -10 m-180 10 h10 m0 0 h160 m-292 -34 h20 m292 0 h20 m-332 0 q10 0 10 10 m312 0 q0 -10 10 -10 m-322 10 v46 m312 0 v-46 m-312 46 q0 10 10 10 m292 0 q10 0 10 -10 m-302 10 h10 m54 0 h10 m0 0 h218 m20 -66 h10 m66 0 h10 m0 0 h202 m-630 -10 v20 m640 0 v-20 m-640 20 v90 m640 0 v-90 m-640 90 q0 10 10 10 m620 0 q10 0 10 -10 m-630 10 h10 m74 0 h10 m0 0 h526 m-630 -10 v20 m640 0 v-20 m-640 20 v24 m640 0 v-24 m-640 24 q0 10 10 10 m620 0 q10 0 10 -10 m-630 10 h10 m50 0 h10 m0 0 h550 m-630 -10 v20 m640 0 v-20 m-640 20 v24 m640 0 v-24 m-640 24 q0 10 10 10 m620 0 q10 0 10 -10 m-630 10 h10 m50 0 h10 m0 0 h550 m-630 -10 v20 m640 0 v-20 m-640 20 v24 m640 0 v-24 m-640 24 q0 10 10 10 m620 0 q10 0 10 -10 m-630 10 h10 m48 0 h10 m0 0 h552 m-630 -10 v20 m640 0 v-20 m-640 20 v24 m640 0 v-24 m-640 24 q0 10 10 10 m620 0 q10 0 10 -10 m-630 10 h10 m46 0 h10 m0 0 h554 m-630 -10 v20 m640 0 v-20 m-640 20 v24 m640 0 v-24 m-640 24 q0 10 10 10 m620 0 q10 0 10 -10 m-630 10 h10 m54 0 h10 m0 0 h546 m23 -1162 h-3"/>
<polygon points="689 51 697 47 697 55"/>
<polygon points="689 51 681 47 681 55"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#Statement" title="Statement">Statement</a>
::= ( 'PRINT' | '?' ) ( ( <a href="#String" title="String">String</a> | <a href="#Expression" title="Expression">Expression</a> ) [,;] )* ( <a href="#String" title="String">String</a> | <a href="#Expression" title="Expression">Expression</a> )?
| ( 'AT' ( <a href="#Expression" title="Expression">Expression</a> ',' )? | 'PUT' | ( 'LINE' | 'POKE' ) <a href="#Expression" title="Expression">Expression</a> ',' | 'GOTO' | 'LET'? <a href="#Variable" title="Variable">Variable</a> ( '(' <a href="#Expression" title="Expression">Expression</a> ')' )? '=' | 'FOR' <a href="#Variable" title="Variable">Variable</a> '=' <a href="#Expression" title="Expression">Expression</a> 'TO' | 'GOSUB' | 'MODE' ) <a href="#Expression" title="Expression">Expression</a>
| 'CLS'
| 'IF' <a href="#Expression" title="Expression">Expression</a> <a href="#RelOp" title="RelOp">RelOp</a> <a href="#Expression" title="Expression">Expression</a> 'THEN'? <a href="#Statements" title="Statements">Statements</a>
| ( 'INPUT' ( <a href="#Variable" title="Variable">Variable</a> ',' )* | 'NEXT' ) <a href="#Variable" title="Variable">Variable</a>
| 'RETURN'
| ( 'REM' | "'" ) <a href="#Character" title="Character">Character</a>*
| 'NEW'
| 'LIST'
| 'RUN'
| 'END'
| 'SAVE'</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#Statements" title="Statements">Statements</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="Expression">Expression:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="238" height="200">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 105 1 101 1 109"/>
<polygon points="17 105 9 101 9 109"/>
<rect x="51" y="123" width="30" height="32" rx="10"/>
<rect x="49" y="121" width="30" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="141">+</text>
<rect x="51" y="167" width="26" height="32" rx="10"/>
<rect x="49" y="165" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="185">-</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Term" xlink:title="Term">
<rect x="141" y="91" width="50" height="32"/>
<rect x="139" y="89" width="50" height="32" class="nonterminal"/>
<text class="nonterminal" x="149" y="109">Term</text>
</a>
<rect x="141" y="47" width="30" height="32" rx="10"/>
<rect x="139" y="45" width="30" height="32" class="terminal" rx="10"/>
<text class="terminal" x="149" y="65">+</text>
<rect x="141" y="3" width="26" height="32" rx="10"/>
<rect x="139" y="1" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="149" y="21">-</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 105 h2 m20 0 h10 m0 0 h40 m-70 0 h20 m50 0 h20 m-90 0 q10 0 10 10 m70 0 q0 -10 10 -10 m-80 10 v12 m70 0 v-12 m-70 12 q0 10 10 10 m50 0 q10 0 10 -10 m-60 10 h10 m30 0 h10 m-60 -10 v20 m70 0 v-20 m-70 20 v24 m70 0 v-24 m-70 24 q0 10 10 10 m50 0 q10 0 10 -10 m-60 10 h10 m26 0 h10 m0 0 h4 m40 -76 h10 m50 0 h10 m-90 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m70 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-70 0 h10 m30 0 h10 m0 0 h20 m-80 10 l0 -44 q0 -10 10 -10 m80 54 l0 -44 q0 -10 -10 -10 m-70 0 h10 m26 0 h10 m0 0 h24 m23 88 h-3"/>
<polygon points="229 105 237 101 237 109"/>
<polygon points="229 105 221 101 221 109"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#Expression" title="Expression">Expression</a>
::= [+#x2D]? <a href="#Term" title="Term">Term</a> ( [+#x2D] <a href="#Term" title="Term">Term</a> )*</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#Factor" title="Factor">Factor</xhtml:a></xhtml:li>
<xhtml:li><xhtml:a href="#Statement" title="Statement">Statement</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="Term">Term:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="156" height="168">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 149 1 145 1 153"/>
<polygon points="17 149 9 145 9 153"/>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Factor" xlink:title="Factor">
<rect x="51" y="135" width="58" height="32"/>
<rect x="49" y="133" width="58" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="153">Factor</text>
</a>
<rect x="51" y="91" width="28" height="32" rx="10"/>
<rect x="49" y="89" width="28" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="109">*</text>
<rect x="51" y="47" width="28" height="32" rx="10"/>
<rect x="49" y="45" width="28" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="65">/</text>
<rect x="51" y="3" width="34" height="32" rx="10"/>
<rect x="49" y="1" width="34" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="21">%</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 149 h2 m20 0 h10 m58 0 h10 m-98 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m78 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-78 0 h10 m28 0 h10 m0 0 h30 m-88 10 l0 -44 q0 -10 10 -10 m88 54 l0 -44 q0 -10 -10 -10 m-78 0 h10 m28 0 h10 m0 0 h30 m-88 10 l0 -44 q0 -10 10 -10 m88 54 l0 -44 q0 -10 -10 -10 m-78 0 h10 m34 0 h10 m0 0 h24 m23 132 h-3"/>
<polygon points="147 149 155 145 155 153"/>
<polygon points="147 149 139 145 139 153"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#Term" title="Term">Term</a> ::= <a href="#Factor" title="Factor">Factor</a> ( [*/%] <a href="#Factor" title="Factor">Factor</a> )*</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#Expression" title="Expression">Expression</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="Factor">Factor:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="288">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 17 1 13 1 21"/>
<polygon points="17 17 9 13 9 21"/>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Variable" xlink:title="Variable">
<rect x="51" y="3" width="66" height="32"/>
<rect x="49" y="1" width="66" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="21">Variable</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Number" xlink:title="Number">
<rect x="51" y="47" width="66" height="32"/>
<rect x="49" y="45" width="66" height="32" class="nonterminal"/>
<text class="nonterminal" x="59" y="65">Number</text>
</a>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Variable" xlink:title="Variable">
<rect x="71" y="123" width="66" height="32"/>
<rect x="69" y="121" width="66" height="32" class="nonterminal"/>
<text class="nonterminal" x="79" y="141">Variable</text>
</a>
<rect x="71" y="167" width="54" height="32" rx="10"/>
<rect x="69" y="165" width="54" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="185">PEEK</text>
<rect x="71" y="211" width="48" height="32" rx="10"/>
<rect x="69" y="209" width="48" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="229">RND</text>
<rect x="71" y="255" width="48" height="32" rx="10"/>
<rect x="69" y="253" width="48" height="32" class="terminal" rx="10"/>
<text class="terminal" x="79" y="273">USR</text>
<rect x="177" y="91" width="26" height="32" rx="10"/>
<rect x="175" y="89" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="185" y="109">(</text>
<a xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#Expression" xlink:title="Expression">
<rect x="223" y="91" width="84" height="32"/>
<rect x="221" y="89" width="84" height="32" class="nonterminal"/>
<text class="nonterminal" x="231" y="109">Expression</text>
</a>
<rect x="327" y="91" width="26" height="32" rx="10"/>
<rect x="325" y="89" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="335" y="109">)</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 17 h2 m20 0 h10 m66 0 h10 m0 0 h236 m-342 0 h20 m322 0 h20 m-362 0 q10 0 10 10 m342 0 q0 -10 10 -10 m-352 10 v24 m342 0 v-24 m-342 24 q0 10 10 10 m322 0 q10 0 10 -10 m-332 10 h10 m66 0 h10 m0 0 h236 m-332 -10 v20 m342 0 v-20 m-342 20 v24 m342 0 v-24 m-342 24 q0 10 10 10 m322 0 q10 0 10 -10 m-312 10 h10 m0 0 h76 m-106 0 h20 m86 0 h20 m-126 0 q10 0 10 10 m106 0 q0 -10 10 -10 m-116 10 v12 m106 0 v-12 m-106 12 q0 10 10 10 m86 0 q10 0 10 -10 m-96 10 h10 m66 0 h10 m-96 -10 v20 m106 0 v-20 m-106 20 v24 m106 0 v-24 m-106 24 q0 10 10 10 m86 0 q10 0 10 -10 m-96 10 h10 m54 0 h10 m0 0 h12 m-96 -10 v20 m106 0 v-20 m-106 20 v24 m106 0 v-24 m-106 24 q0 10 10 10 m86 0 q10 0 10 -10 m-96 10 h10 m48 0 h10 m0 0 h18 m-96 -10 v20 m106 0 v-20 m-106 20 v24 m106 0 v-24 m-106 24 q0 10 10 10 m86 0 q10 0 10 -10 m-96 10 h10 m48 0 h10 m0 0 h18 m20 -164 h10 m26 0 h10 m0 0 h10 m84 0 h10 m0 0 h10 m26 0 h10 m23 -88 h-3"/>
<polygon points="391 17 399 13 399 21"/>
<polygon points="391 17 383 13 383 21"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#Factor" title="Factor">Factor</a> ::= <a href="#Variable" title="Variable">Variable</a>
| <a href="#Number" title="Number">Number</a>
| ( <a href="#Variable" title="Variable">Variable</a> | 'PEEK' | 'RND' | 'USR' )? '(' <a href="#Expression" title="Expression">Expression</a> ')'</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#Term" title="Term">Term</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="RelOp">RelOp:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="138" height="256">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 17 1 13 1 21"/>
<polygon points="17 17 9 13 9 21"/>
<rect x="51" y="3" width="30" height="32" rx="10"/>
<rect x="49" y="1" width="30" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="21">=</text>
<rect x="51" y="47" width="30" height="32" rx="10"/>
<rect x="49" y="45" width="30" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="65">&lt;</text>
<rect x="51" y="91" width="30" height="32" rx="10"/>
<rect x="49" y="89" width="30" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="109">&gt;</text>
<rect x="51" y="135" width="40" height="32" rx="10"/>
<rect x="49" y="133" width="40" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="153">&lt;=</text>
<rect x="51" y="179" width="40" height="32" rx="10"/>
<rect x="49" y="177" width="40" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="197">&gt;=</text>
<rect x="51" y="223" width="40" height="32" rx="10"/>
<rect x="49" y="221" width="40" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="241">&lt;&gt;</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 17 h2 m20 0 h10 m30 0 h10 m0 0 h10 m-80 0 h20 m60 0 h20 m-100 0 q10 0 10 10 m80 0 q0 -10 10 -10 m-90 10 v24 m80 0 v-24 m-80 24 q0 10 10 10 m60 0 q10 0 10 -10 m-70 10 h10 m30 0 h10 m0 0 h10 m-70 -10 v20 m80 0 v-20 m-80 20 v24 m80 0 v-24 m-80 24 q0 10 10 10 m60 0 q10 0 10 -10 m-70 10 h10 m30 0 h10 m0 0 h10 m-70 -10 v20 m80 0 v-20 m-80 20 v24 m80 0 v-24 m-80 24 q0 10 10 10 m60 0 q10 0 10 -10 m-70 10 h10 m40 0 h10 m-70 -10 v20 m80 0 v-20 m-80 20 v24 m80 0 v-24 m-80 24 q0 10 10 10 m60 0 q10 0 10 -10 m-70 10 h10 m40 0 h10 m-70 -10 v20 m80 0 v-20 m-80 20 v24 m80 0 v-24 m-80 24 q0 10 10 10 m60 0 q10 0 10 -10 m-70 10 h10 m40 0 h10 m23 -220 h-3"/>
<polygon points="129 17 137 13 137 21"/>
<polygon points="129 17 121 13 121 21"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#RelOp" title="RelOp">RelOp</a> ::= '='
| '&lt;'
| '&gt;'
| '&lt;='
| '&gt;='
| '&lt;&gt;'</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#Statement" title="Statement">Statement</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="Number">Number:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="160" height="52">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 33 1 29 1 37"/>
<polygon points="17 33 9 29 9 37"/>
<polygon points="51 35 58 19 106 19 113 35 106 51 58 51"/>
<polygon points="49 33 56 17 104 17 111 33 104 49 56 49" class="regexp"/>
<text class="regexp" x="64" y="37">[0-9]</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 33 h2 m20 0 h10 m62 0 h10 m-102 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -12 q0 -10 10 -10 m82 32 l20 0 m-20 0 q10 0 10 -10 l0 -12 q0 -10 -10 -10 m-82 0 h10 m0 0 h72 m23 32 h-3"/>
<polygon points="151 33 159 29 159 37"/>
<polygon points="151 33 143 29 143 37"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#Number" title="Number">Number</a> ::= [0-9]+</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#Factor" title="Factor">Factor</xhtml:a></xhtml:li>
<xhtml:li><xhtml:a href="#Line" title="Line">Line</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="Variable">Variable:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="160" height="80">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 17 1 13 1 21"/>
<polygon points="17 17 9 13 9 21"/>
<polygon points="51 19 58 3 106 3 113 19 106 35 58 35"/>
<polygon points="49 17 56 1 104 1 111 17 104 33 56 33" class="regexp"/>
<text class="regexp" x="64" y="21">[A-Z]</text>
<rect x="51" y="47" width="30" height="32" rx="10"/>
<rect x="49" y="45" width="30" height="32" class="terminal" rx="10"/>
<text class="terminal" x="59" y="65">@</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 17 h2 m20 0 h10 m62 0 h10 m-102 0 h20 m82 0 h20 m-122 0 q10 0 10 10 m102 0 q0 -10 10 -10 m-112 10 v24 m102 0 v-24 m-102 24 q0 10 10 10 m82 0 q10 0 10 -10 m-92 10 h10 m30 0 h10 m0 0 h32 m23 -44 h-3"/>
<polygon points="151 17 159 13 159 21"/>
<polygon points="151 17 143 13 143 21"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#Variable" title="Variable">Variable</a> ::= [A-Z@]</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#Factor" title="Factor">Factor</xhtml:a></xhtml:li>
<xhtml:li><xhtml:a href="#Statement" title="Statement">Statement</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="String">String:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="334" height="114">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 95 1 91 1 99"/>
<polygon points="17 95 9 91 9 99"/>
<rect x="31" y="81" width="26" height="32" rx="10"/>
<rect x="29" y="79" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="39" y="99">"</text>
<polygon points="97 63 104 47 234 47 241 63 234 79 104 79"/>
<polygon points="95 61 102 45 232 45 239 61 232 77 102 77" class="regexp"/>
<text class="regexp" x="110" y="65">[#x0020-#x0021]</text>
<polygon points="97 19 104 3 234 3 241 19 234 35 104 35"/>
<polygon points="95 17 102 1 232 1 239 17 232 33 102 33" class="regexp"/>
<text class="regexp" x="110" y="21">[#x0023-#x007E]</text>
<rect x="281" y="81" width="26" height="32" rx="10"/>
<rect x="279" y="79" width="26" height="32" class="terminal" rx="10"/>
<text class="terminal" x="289" y="99">"</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 95 h2 m0 0 h10 m26 0 h10 m20 0 h10 m0 0 h154 m-184 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -14 q0 -10 10 -10 m164 34 l20 0 m-20 0 q10 0 10 -10 l0 -14 q0 -10 -10 -10 m-164 0 h10 m144 0 h10 m-174 10 l0 -44 q0 -10 10 -10 m174 54 l0 -44 q0 -10 -10 -10 m-164 0 h10 m144 0 h10 m20 78 h10 m26 0 h10 m3 0 h-3"/>
<polygon points="325 95 333 91 333 99"/>
<polygon points="325 95 317 91 317 99"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#String" title="String">String</a> ::= '"' [#x0020-#x0021#x0023-#x007E]* '"'</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#Statement" title="Statement">Statement</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" style="font-size: 14px; font-weight:bold"><xhtml:a name="Character">Character:</xhtml:a></xhtml:p>
<svg xmlns="http://www.w3.org/2000/svg" width="202" height="36">
<defs>
<style type="text/css">
@namespace "http://www.w3.org/2000/svg";
.line {fill: none; stroke: #332900;}
.bold-line {stroke: #141000; shape-rendering: crispEdges; stroke-width:
2; }
.thin-line {stroke: #1F1800; shape-rendering: crispEdges}
.filled {fill: #332900; stroke: none;}
text.terminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #141000;
font-weight: bold;
}
text.nonterminal {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1A1400;
}
text.regexp {font-family: Verdana, Sans-serif;
font-size: 12px;
fill: #1F1800;
}
rect, circle, polygon {fill: #332900; stroke: #332900;}
rect.terminal {fill: #FFDB4D; stroke: #332900;}
rect.nonterminal {fill: #FFEC9E; stroke: #332900;}
rect.text {fill: none; stroke: none;}
polygon.regexp {fill: #FFF4C7; stroke: #332900;}
</style>
</defs>
<polygon points="9 17 1 13 1 21"/>
<polygon points="17 17 9 13 9 21"/>
<polygon points="31 19 38 3 168 3 175 19 168 35 38 35"/>
<polygon points="29 17 36 1 166 1 173 17 166 33 36 33" class="regexp"/>
<text class="regexp" x="44" y="21">[#x0020-#x007E]</text>
<svg:path xmlns:svg="http://www.w3.org/2000/svg" class="line" d="m17 17 h2 m0 0 h10 m144 0 h10 m3 0 h-3"/>
<polygon points="193 17 201 13 201 21"/>
<polygon points="193 17 185 13 185 21"/>
</svg>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:div class="ebnf"><xhtml:pre><a href="#Character" title="Character">Character</a>
::= [#x0020-#x007E]</xhtml:pre></xhtml:div>
</xhtml:p>
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">referenced by:
<xhtml:ul>
<xhtml:li><xhtml:a href="#Statement" title="Statement">Statement</xhtml:a></xhtml:li>
</xhtml:ul>
</xhtml:p><xhtml:br xmlns:xhtml="http://www.w3.org/1999/xhtml" /><xhtml:hr xmlns:xhtml="http://www.w3.org/1999/xhtml" />
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:table border="0" class="signature">
<xhtml:tr>
<xhtml:td style="width: 100%"> </xhtml:td>
<xhtml:td valign="top">
<xhtml:nobr class="signature">... generated by <xhtml:a name="Railroad-Diagram-Generator" class="signature" title="http://www.bottlecaps.de/rr/ui" href="http://www.bottlecaps.de/rr/ui" target="_blank">Railroad Diagram Generator</xhtml:a></xhtml:nobr>
</xhtml:td>
<xhtml:td><xhtml:a name="Railroad-Diagram-Generator" title="http://www.bottlecaps.de/rr/ui" href="http://www.bottlecaps.de/rr/ui" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
<g transform="scale(0.178)">
<circle cx="45" cy="45" r="45" style="stroke:none; fill:#FFCC00"/>
<circle cx="45" cy="45" r="42" style="stroke:#332900; stroke-width:2px; fill:#FFCC00"/>
<line x1="15" y1="15" x2="75" y2="75" stroke="#332900" style="stroke-width:9px;"/>
<line x1="15" y1="75" x2="75" y2="15" stroke="#332900" style="stroke-width:9px;"/>
<text x="7" y="54" style="font-size:26px; font-family:Arial, Sans-serif; font-weight:bold; fill: #332900">R</text>
<text x="64" y="54" style="font-size:26px; font-family:Arial, Sans-serif; font-weight:bold; fill: #332900">R</text>
</g>
</svg></xhtml:a></xhtml:td>
</xhtml:tr>
</xhtml:table>
</xhtml:p>
</body>
</html>