--- a/rdf-turtle/index.html Fri Jun 10 22:28:27 2011 -0700
+++ b/rdf-turtle/index.html Fri Jun 10 22:51:29 2011 -0700
@@ -577,8 +577,8 @@
[[!EBNF-NOTATION]]. Production labels consisting of a number and a final 's', e.g. [<a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rRDFLiteral"><span class="prodNo">60s</span></a>], reference to the production with that number in the <a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#sparqlGrammar">SPARQL Query Language for RDF grammar</a> [[RDF-SPARQL-QUERY]].
</p>
<p class="note">At this point there should be the table output from yacker, but I has having trouble getting it to behave as expected.</p>
- <pre data-include="turtle.bnf">
- </pre>
+ <div data-include="turtle-bnf.html">
+ </div>
</section>
</section>
<section id="sec-parsing">
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/rdf-turtle/turtle-bnf.html Fri Jun 10 22:51:29 2011 -0700
@@ -0,0 +1,587 @@
+<table>
+<caption>Turtle - Terse RDF Triple Language EBNF</caption>
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-turtleDoc" id="prod-turtle2-turtleDoc"></a>[<span class="prodNo">1</span>] </td>
+<td><code class="production prod">turtleDoc</code></td>
+<td> ::= </td>
+<td><code class="content">(<span class="prod"><a href="#prod-turtle2-statement" class="grammarRef">statement</a></span>)*</code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-statement" id="prod-turtle2-statement"></a>[<span class="prodNo">2</span>] </td>
+<td><code class="production prod">statement</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-directive" class="grammarRef">directive</a></span> "."<br>
+| <span class="prod"><a href="#prod-turtle2-triples" class="grammarRef">triples</a></span> "."</code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-directive" id="prod-turtle2-directive"></a>[<span class="prodNo">3</span>] </td>
+<td><code class="production prod">directive</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-prefixID" class="grammarRef">prefixID</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-base" class="grammarRef">base</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-prefixID" id="prod-turtle2-prefixID"></a>[<span class="prodNo">4</span>] </td>
+<td><code class="production prod">prefixID</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-PREFIX" class="grammarRef">PREFIX</a></span> <span class="prod"><a href="#prod-turtle2-PNAME_NS" class="grammarRef">PNAME_NS</a></span> <span class="prod"><a href="#prod-turtle2-IRI_REF" class="grammarRef">IRI_REF</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-base" id="prod-turtle2-base"></a>[<span class="prodNo">5</span>] </td>
+<td><code class="production prod">base</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-BASE" class="grammarRef">BASE</a></span> <span class="prod"><a href="#prod-turtle2-IRI_REF" class="grammarRef">IRI_REF</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-triples" id="prod-turtle2-triples"></a>[<span class="prodNo">6</span>] </td>
+<td><code class="production prod">triples</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-subject" class="grammarRef">subject</a></span> <span class="prod"><a href="#prod-turtle2-predicateObjectList" class="grammarRef">predicateObjectList</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-predicateObjectList" id="prod-turtle2-predicateObjectList"></a>[<span class="prodNo">7</span>] </td>
+<td><code class="production prod">predicateObjectList</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-verb" class="grammarRef">verb</a></span> <span class="prod"><a href="#prod-turtle2-objectList" class="grammarRef">objectList</a></span> (( ";" <span class="prod"><a href="#prod-turtle2-verb" class="grammarRef">verb</a></span> <span class="prod"><a href="#prod-turtle2-objectList" class="grammarRef">objectList</a></span> ))* (";")?</code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-objectList" id="prod-turtle2-objectList"></a>[<span class="prodNo">8</span>] </td>
+<td><code class="production prod">objectList</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-object" class="grammarRef">object</a></span> (( "," <span class="prod"><a href="#prod-turtle2-object" class="grammarRef">object</a></span> ))*</code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-verb" id="prod-turtle2-verb"></a>[<span class="prodNo">9</span>] </td>
+<td><code class="production prod">verb</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-predicate" class="grammarRef">predicate</a></span><br>
+| "a"</code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-subject" id="prod-turtle2-subject"></a>[<span class="prodNo">10</span>] </td>
+<td><code class="production prod">subject</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-IRIref" class="grammarRef">IRIref</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-blank" class="grammarRef">blank</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-predicate" id="prod-turtle2-predicate"></a>[<span class="prodNo">11</span>] </td>
+<td><code class="production prod">predicate</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-IRIref" class="grammarRef">IRIref</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-object" id="prod-turtle2-object"></a>[<span class="prodNo">12</span>] </td>
+<td><code class="production prod">object</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-IRIref" class="grammarRef">IRIref</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-blank" class="grammarRef">blank</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-literal" class="grammarRef">literal</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-literal" id="prod-turtle2-literal"></a>[<span class="prodNo">13</span>] </td>
+<td><code class="production prod">literal</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-RDFLiteral" class="grammarRef">RDFLiteral</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-NumericLiteral" class="grammarRef">NumericLiteral</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-BooleanLiteral" class="grammarRef">BooleanLiteral</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-blank" id="prod-turtle2-blank"></a>[<span class="prodNo">14</span>] </td>
+<td><code class="production prod">blank</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-BlankNode" class="grammarRef">BlankNode</a></span><br>
+| "[" <span class="prod"><a href="#prod-turtle2-predicateObjectList" class="grammarRef">predicateObjectList</a></span> "]"<br>
+| <span class="prod"><a href="#prod-turtle2-collection" class="grammarRef">collection</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-collection" id="prod-turtle2-collection"></a>[<span class="prodNo">15</span>] </td>
+<td><code class="production prod">collection</code></td>
+<td> ::= </td>
+<td><code class="content">"(" (<span class="prod"><a href="#prod-turtle2-object" class="grammarRef">object</a></span>)* ")"</code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-RDFLiteral" id="prod-turtle2-RDFLiteral"></a>[<span class="prodNo">16</span>] </td>
+<td><code class="production prod">RDFLiteral</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-String" class="grammarRef">String</a></span> (( <span class="prod"><a href="#prod-turtle2-LANGTAG" class="grammarRef">LANGTAG</a></span> | ( "^^" <span class="prod"><a href="#prod-turtle2-IRIref" class="grammarRef">IRIref</a></span> ) ))?</code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-NumericLiteral" id="prod-turtle2-NumericLiteral"></a>[<span class="prodNo">17</span>] </td>
+<td><code class="production prod">NumericLiteral</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-NumericLiteralUnsigned" class="grammarRef">NumericLiteralUnsigned</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-NumericLiteralPositive" class="grammarRef">NumericLiteralPositive</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-NumericLiteralNegative" class="grammarRef">NumericLiteralNegative</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-NumericLiteralUnsigned" id="prod-turtle2-NumericLiteralUnsigned"></a>[<span class="prodNo">18</span>] </td>
+<td><code class="production prod">NumericLiteralUnsigned</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-INTEGER" class="grammarRef">INTEGER</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-DECIMAL" class="grammarRef">DECIMAL</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-DOUBLE" class="grammarRef">DOUBLE</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-NumericLiteralPositive" id="prod-turtle2-NumericLiteralPositive"></a>[<span class="prodNo">19</span>] </td>
+<td><code class="production prod">NumericLiteralPositive</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-INTEGER_POSITIVE" class="grammarRef">INTEGER_POSITIVE</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-DECIMAL_POSITIVE" class="grammarRef">DECIMAL_POSITIVE</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-DOUBLE_POSITIVE" class="grammarRef">DOUBLE_POSITIVE</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-NumericLiteralNegative" id="prod-turtle2-NumericLiteralNegative"></a>[<span class="prodNo">20</span>] </td>
+<td><code class="production prod">NumericLiteralNegative</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-INTEGER_NEGATIVE" class="grammarRef">INTEGER_NEGATIVE</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-DECIMAL_NEGATIVE" class="grammarRef">DECIMAL_NEGATIVE</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-DOUBLE_NEGATIVE" class="grammarRef">DOUBLE_NEGATIVE</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-BooleanLiteral" id="prod-turtle2-BooleanLiteral"></a>[<span class="prodNo">21</span>] </td>
+<td><code class="production prod">BooleanLiteral</code></td>
+<td> ::= </td>
+<td><code class="content">"true"<br>
+| "false"</code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-String" id="prod-turtle2-String"></a>[<span class="prodNo">22</span>] </td>
+<td><code class="production prod">String</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-STRING_LITERAL1" class="grammarRef">STRING_LITERAL1</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-STRING_LITERAL2" class="grammarRef">STRING_LITERAL2</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-STRING_LITERAL_LONG1" class="grammarRef">STRING_LITERAL_LONG1</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-STRING_LITERAL_LONG2" class="grammarRef">STRING_LITERAL_LONG2</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-IRIref" id="prod-turtle2-IRIref"></a>[<span class="prodNo">23</span>] </td>
+<td><code class="production prod">IRIref</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-IRI_REF" class="grammarRef">IRI_REF</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-PrefixedName" class="grammarRef">PrefixedName</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-PrefixedName" id="prod-turtle2-PrefixedName"></a>[<span class="prodNo">24</span>] </td>
+<td><code class="production prod">PrefixedName</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-PNAME_LN" class="grammarRef">PNAME_LN</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-PNAME_NS" class="grammarRef">PNAME_NS</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="prod">
+<tr valign="baseline">
+<td><a name="prod-turtle2-BlankNode" id="prod-turtle2-BlankNode"></a>[<span class="prodNo">25</span>] </td>
+<td><code class="production prod">BlankNode</code></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-BLANK_NODE_LABEL" class="grammarRef">BLANK_NODE_LABEL</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-ANON" class="grammarRef">ANON</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-BASE" id="term-turtle2-BASE"></a>[<span class="prodNo">26</span>] </td>
+<td><<code class="production term">BASE</code>></td>
+<td> ::= </td>
+<td><code class="content">"@base"</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-PREFIX" id="term-turtle2-PREFIX"></a>[<span class="prodNo">27</span>] </td>
+<td><<code class="production term">PREFIX</code>></td>
+<td> ::= </td>
+<td><code class="content">"@prefix"</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-IRI_REF" id="term-turtle2-IRI_REF"></a>[<span class="prodNo">28</span>] </td>
+<td><<code class="production term">IRI_REF</code>></td>
+<td> ::= </td>
+<td><code class="content">"<" (( [^<>\"{}|^`\\] - [#0000- ] ))* ">"</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-PNAME_NS" id="term-turtle2-PNAME_NS"></a>[<span class="prodNo">29</span>] </td>
+<td><<code class="production term">PNAME_NS</code>></td>
+<td> ::= </td>
+<td><code class="content">(<span class="prod"><a href="#prod-turtle2-PN_PREFIX" class="grammarRef">PN_PREFIX</a></span>)? ":"</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-PNAME_LN" id="term-turtle2-PNAME_LN"></a>[<span class="prodNo">30</span>] </td>
+<td><<code class="production term">PNAME_LN</code>></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-PNAME_NS" class="grammarRef">PNAME_NS</a></span> <span class="prod"><a href="#prod-turtle2-PN_LOCAL" class="grammarRef">PN_LOCAL</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-BLANK_NODE_LABEL" id="term-turtle2-BLANK_NODE_LABEL"></a>[<span class="prodNo">31</span>] </td>
+<td><<code class="production term">BLANK_NODE_LABEL</code>></td>
+<td> ::= </td>
+<td><code class="content">"_:" <span class="prod"><a href="#prod-turtle2-PN_LOCAL" class="grammarRef">PN_LOCAL</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-VAR1" id="term-turtle2-VAR1"></a>[<span class="prodNo">32</span>] </td>
+<td><<code class="production term">VAR1</code>></td>
+<td> ::= </td>
+<td><code class="content">"?" <span class="prod"><a href="#prod-turtle2-VARNAME" class="grammarRef">VARNAME</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-VAR2" id="term-turtle2-VAR2"></a>[<span class="prodNo">33</span>] </td>
+<td><<code class="production term">VAR2</code>></td>
+<td> ::= </td>
+<td><code class="content">"$" <span class="prod"><a href="#prod-turtle2-VARNAME" class="grammarRef">VARNAME</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-LANGTAG" id="term-turtle2-LANGTAG"></a>[<span class="prodNo">34</span>] </td>
+<td><<code class="production term">LANGTAG</code>></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-BASE" class="grammarRef">BASE</a></span><br>
+| <span class="prod"><a href="#prod-turtle2-PREFIX" class="grammarRef">PREFIX</a></span><br>
+| "@" ([a-zA-Z])+ (( "-" ([a-zA-Z0-9])+ ))*</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-INTEGER" id="term-turtle2-INTEGER"></a>[<span class="prodNo">35</span>] </td>
+<td><<code class="production term">INTEGER</code>></td>
+<td> ::= </td>
+<td><code class="content">([0-9])+</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-DECIMAL" id="term-turtle2-DECIMAL"></a>[<span class="prodNo">36</span>] </td>
+<td><<code class="production term">DECIMAL</code>></td>
+<td> ::= </td>
+<td><code class="content">([0-9])+ "." ([0-9])*<br>
+| "." ([0-9])+</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-DOUBLE" id="term-turtle2-DOUBLE"></a>[<span class="prodNo">37</span>] </td>
+<td><<code class="production term">DOUBLE</code>></td>
+<td> ::= </td>
+<td><code class="content">([0-9])+ "." ([0-9])* <span class="prod"><a href="#prod-turtle2-EXPONENT" class="grammarRef">EXPONENT</a></span><br>
+| "." (( [0-9] ))+ <span class="prod"><a href="#prod-turtle2-EXPONENT" class="grammarRef">EXPONENT</a></span><br>
+| (( [0-9] ))+ <span class="prod"><a href="#prod-turtle2-EXPONENT" class="grammarRef">EXPONENT</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-INTEGER_POSITIVE" id="term-turtle2-INTEGER_POSITIVE"></a>[<span class="prodNo">38</span>] </td>
+<td><<code class="production term">INTEGER_POSITIVE</code>></td>
+<td> ::= </td>
+<td><code class="content">"+" <span class="prod"><a href="#prod-turtle2-INTEGER" class="grammarRef">INTEGER</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-DECIMAL_POSITIVE" id="term-turtle2-DECIMAL_POSITIVE"></a>[<span class="prodNo">39</span>] </td>
+<td><<code class="production term">DECIMAL_POSITIVE</code>></td>
+<td> ::= </td>
+<td><code class="content">"+" <span class="prod"><a href="#prod-turtle2-DECIMAL" class="grammarRef">DECIMAL</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-DOUBLE_POSITIVE" id="term-turtle2-DOUBLE_POSITIVE"></a>[<span class="prodNo">40</span>] </td>
+<td><<code class="production term">DOUBLE_POSITIVE</code>></td>
+<td> ::= </td>
+<td><code class="content">"+" <span class="prod"><a href="#prod-turtle2-DOUBLE" class="grammarRef">DOUBLE</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-INTEGER_NEGATIVE" id="term-turtle2-INTEGER_NEGATIVE"></a>[<span class="prodNo">41</span>] </td>
+<td><<code class="production term">INTEGER_NEGATIVE</code>></td>
+<td> ::= </td>
+<td><code class="content">"-" <span class="prod"><a href="#prod-turtle2-INTEGER" class="grammarRef">INTEGER</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-DECIMAL_NEGATIVE" id="term-turtle2-DECIMAL_NEGATIVE"></a>[<span class="prodNo">42</span>] </td>
+<td><<code class="production term">DECIMAL_NEGATIVE</code>></td>
+<td> ::= </td>
+<td><code class="content">"-" <span class="prod"><a href="#prod-turtle2-DECIMAL" class="grammarRef">DECIMAL</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-DOUBLE_NEGATIVE" id="term-turtle2-DOUBLE_NEGATIVE"></a>[<span class="prodNo">43</span>] </td>
+<td><<code class="production term">DOUBLE_NEGATIVE</code>></td>
+<td> ::= </td>
+<td><code class="content">"-" <span class="prod"><a href="#prod-turtle2-DOUBLE" class="grammarRef">DOUBLE</a></span></code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-EXPONENT" id="term-turtle2-EXPONENT"></a>[<span class="prodNo">44</span>] </td>
+<td><<code class="production term">EXPONENT</code>></td>
+<td> ::= </td>
+<td><code class="content">[eE] ([+-])? ([0-9])+</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-STRING_LITERAL1" id="term-turtle2-STRING_LITERAL1"></a>[<span class="prodNo">45</span>] </td>
+<td><<code class="production term">STRING_LITERAL1</code>></td>
+<td> ::= </td>
+<td><code class="content">"'" (( ( [^'\\\n\r] ) | <span class="prod"><a href="#prod-turtle2-ECHAR" class="grammarRef">ECHAR</a></span> ))* "'"</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-STRING_LITERAL2" id="term-turtle2-STRING_LITERAL2"></a>[<span class="prodNo">46</span>] </td>
+<td><<code class="production term">STRING_LITERAL2</code>></td>
+<td> ::= </td>
+<td><code class="content">'"' (( ( [^\"\\\n\r] ) | <span class="prod"><a href="#prod-turtle2-ECHAR" class="grammarRef">ECHAR</a></span> ))* '"'</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-STRING_LITERAL_LONG1" id="term-turtle2-STRING_LITERAL_LONG1"></a>[<span class="prodNo">47</span>] </td>
+<td><<code class="production term">STRING_LITERAL_LONG1</code>></td>
+<td> ::= </td>
+<td><code class="content">"'''" (( (( "'" | "''" ))? ( [^'\\] | <span class="prod"><a href="#prod-turtle2-ECHAR" class="grammarRef">ECHAR</a></span> ) ))* "'''"</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-STRING_LITERAL_LONG2" id="term-turtle2-STRING_LITERAL_LONG2"></a>[<span class="prodNo">48</span>] </td>
+<td><<code class="production term">STRING_LITERAL_LONG2</code>></td>
+<td> ::= </td>
+<td><code class="content">'"""' (( (( '"' | '""' ))? ( [^\"\\] | <span class="prod"><a href="#prod-turtle2-ECHAR" class="grammarRef">ECHAR</a></span> ) ))* '"""'</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-ECHAR" id="term-turtle2-ECHAR"></a>[<span class="prodNo">49</span>] </td>
+<td><<code class="production term">ECHAR</code>></td>
+<td> ::= </td>
+<td><code class="content">"\\" [tbnrf\\\"']</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-NIL" id="term-turtle2-NIL"></a>[<span class="prodNo">50</span>] </td>
+<td><<code class="production term">NIL</code>></td>
+<td> ::= </td>
+<td><code class="content">"(" (<span class="prod"><a href="#prod-turtle2-WS" class="grammarRef">WS</a></span>)* ")"</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-WS" id="term-turtle2-WS"></a>[<span class="prodNo">51</span>] </td>
+<td><<code class="production term">WS</code>></td>
+<td> ::= </td>
+<td><code class="content">" "<br>
+| "\t"<br>
+| "\r"<br>
+| "\n"</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-ANON" id="term-turtle2-ANON"></a>[<span class="prodNo">52</span>] </td>
+<td><<code class="production term">ANON</code>></td>
+<td> ::= </td>
+<td><code class="content">"[" (<span class="prod"><a href="#prod-turtle2-WS" class="grammarRef">WS</a></span>)* "]"</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-PN_CHARS_BASE" id="term-turtle2-PN_CHARS_BASE"></a>[<span class="prodNo">53</span>] </td>
+<td><<code class="production term">PN_CHARS_BASE</code>></td>
+<td> ::= </td>
+<td><code class="content">[A-Z]<br>
+| [a-z]<br>
+| [#00C0-#00D6]<br>
+| [#00D8-#00F6]<br>
+| [#00F8-#02FF]<br>
+| [#0370-#037D]<br>
+| [#037F-#1FFF]<br>
+| [#200C-#200D]<br>
+| [#2070-#218F]<br>
+| [#2C00-#2FEF]<br>
+| [#3001-#D7FF]<br>
+| [#F900-#FDCF]<br>
+| [#FDF0-#FFFD]<br>
+| [#10000-#EFFFF]</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-PN_CHARS_U" id="term-turtle2-PN_CHARS_U"></a>[<span class="prodNo">54</span>] </td>
+<td><<code class="production term">PN_CHARS_U</code>></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-PN_CHARS_BASE" class="grammarRef">PN_CHARS_BASE</a></span><br>
+| "_"</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-VARNAME" id="term-turtle2-VARNAME"></a>[<span class="prodNo">55</span>] </td>
+<td><<code class="production term">VARNAME</code>></td>
+<td> ::= </td>
+<td><code class="content">( <span class="prod"><a href="#prod-turtle2-PN_CHARS_U" class="grammarRef">PN_CHARS_U</a></span> | [0-9] ) (( <span class="prod"><a href="#prod-turtle2-PN_CHARS_U" class="grammarRef">PN_CHARS_U</a></span> | [0-9] | #00B7 | [#0300-#036F] | [#203F-#2040] ))*</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-PN_CHARS" id="term-turtle2-PN_CHARS"></a>[<span class="prodNo">56</span>] </td>
+<td><<code class="production term">PN_CHARS</code>></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-PN_CHARS_U" class="grammarRef">PN_CHARS_U</a></span><br>
+| "-"<br>
+| [0-9]<br>
+| #00B7<br>
+| [#0300-#036F]<br>
+| [#203F-#2040]</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-PN_PREFIX" id="term-turtle2-PN_PREFIX"></a>[<span class="prodNo">57</span>] </td>
+<td><<code class="production term">PN_PREFIX</code>></td>
+<td> ::= </td>
+<td><code class="content"><span class="prod"><a href="#prod-turtle2-PN_CHARS_BASE" class="grammarRef">PN_CHARS_BASE</a></span> (( (( <span class="prod"><a href="#prod-turtle2-PN_CHARS" class="grammarRef">PN_CHARS</a></span> | "." ))* <span class="prod"><a href="#prod-turtle2-PN_CHARS" class="grammarRef">PN_CHARS</a></span> ))?</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-PN_LOCAL" id="term-turtle2-PN_LOCAL"></a>[<span class="prodNo">58</span>] </td>
+<td><<code class="production term">PN_LOCAL</code>></td>
+<td> ::= </td>
+<td><code class="content">( <span class="prod"><a href="#prod-turtle2-PN_CHARS_U" class="grammarRef">PN_CHARS_U</a></span> | [0-9] ) (( (( <span class="prod"><a href="#prod-turtle2-PN_CHARS" class="grammarRef">PN_CHARS</a></span> | "." ))* <span class="prod"><a href="#prod-turtle2-PN_CHARS" class="grammarRef">PN_CHARS</a></span> ))?</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a name="term-turtle2-PASSED_TOKENS" id="term-turtle2-PASSED_TOKENS"></a>[<span class="prodNo">59</span>] </td>
+<td><code class="production directive">PASSED TOKENS</code></td>
+<td> ::= </td>
+<td><code class="content">([ \t\r\n])+<br>
+| "#" ([^\r\n])*</code></td>
+</tr>
+</tbody>
+
+</table>
\ No newline at end of file