Make Productions for terminals clearer
authorGavin Carothers <gavin@carothers.name>
Wed, 20 Jun 2012 11:04:32 -0700
changeset 462 0aa1bdd5c29c
parent 461 bcb0059aa02d
child 463 e4be7b9e9ff5
Make Productions for terminals clearer
rdf-turtle/index.html
rdf-turtle/turtle-bnf.html
--- a/rdf-turtle/index.html	Wed Jun 20 10:53:13 2012 -0700
+++ b/rdf-turtle/index.html	Wed Jun 20 11:04:32 2012 -0700
@@ -764,7 +764,7 @@
           <section id="sec-grammar-grammar">
           <h3>Grammar</h3>
             <p>The <abbr title="Extended Backus–Naur Form">EBNF</abbr> used here is defined in XML 1.0
-            [[!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 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]].
+            [[!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 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]]. When tokenizing the input and choosing grammar rules, the longest match is chosen.
             </p>
             <div data-include="turtle-bnf.html">
             </div>
--- a/rdf-turtle/turtle-bnf.html	Wed Jun 20 10:53:13 2012 -0700
+++ b/rdf-turtle/turtle-bnf.html	Wed Jun 20 11:04:32 2012 -0700
@@ -151,6 +151,9 @@
     <td><a href='#grammar-production-BLANK_NODE_LABEL'>BLANK_NODE_LABEL</a> <code>| </code> <a href='#grammar-production-ANON'>ANON</a></td>
 </tr>
     </tbody>
+</table>
+<table class="grammar">
+    <caption>Productions for terminals</caption>
     <tbody class="grammar-terminals">
             <tr id="grammar-production-IRIREF" data-grammar-original="[19] IRIREF ::=  &#x27;&lt;&#x27; ([^#x00-#x20&lt;&gt;\&quot;{}|^`\] | UCHAR)* &#x27;&gt;&#x27;" data-grammar-expression="(&#x27;,&#x27;, [(&quot;&#x27;&quot;, &#x27;&lt;&#x27;), (&#x27;*&#x27;, (&#x27;|&#x27;, [(&#x27;[&#x27;, &#x27;^#x00-#x20&lt;&gt;\\&quot;{}|^`\\&#x27;), (&#x27;id&#x27;, &#x27;UCHAR&#x27;)])), (&quot;&#x27;&quot;, &#x27;&gt;&#x27;)])" class='grammar-token'>
     <td>[19]<td>