Fixed grammar. ldpatch
authorAlexandre Bertails <bertails@gmail.com>
Fri, 21 Nov 2014 00:58:12 -0500
branchldpatch
changeset 898 f76821641fca
parent 897 b8f83a85dd5c
child 899 6d9fd90830da
Fixed grammar.
ldpatch.html
--- a/ldpatch.html	Fri Nov 21 00:38:24 2014 -0500
+++ b/ldpatch.html	Fri Nov 21 00:58:12 2014 -0500
@@ -693,9 +693,13 @@
 
     <section id='concrete-syntax'>
       <h1>Concrete Syntax</h1>
+
       <p>
-          The LD Patch grammar shares most of its production rules with [[!Turtle]], which are extended to allow variables in the <a class="internalDFN" href="#grammar-production-subject">subject</a> and <a class="internalDFN" href="#grammar-production-object">object</a> positions.
+          Production labels consisting of a number and a final 's', e.g. [135s], reference the production with that number in the <a href="http://www.w3.org/TR/sparql11-query/#sparqlGrammar">SPARQL 1.1 Query Language grammar</a> [[!sparql11-query]]. Production labels consisting of a number and a final 't', e.g. [6t], reference the production with that number in the <a href="http://www.w3.org/TR/turtle/#sec-grammar-grammar">Turtle grammar</a> [[!Turtle]]. A production label containing an extra trailing '*' denotes a modified rule, e.g. [10t*] and [12t*].
       </p>
+
+
+
       <!-- do not edit manually, this is automatically generated -->
 <table class="grammar">
   <tbody class="grammar-productions">
@@ -832,7 +836,7 @@
     <td><a href="#grammar-production-predicate">predicate</a> | '<code class="grammar-literal">a</code>'</td>
 </tr>
 <tr id="grammar-production-subject">
-    <td>[10t]</td>
+    <td>[10t*]</td>
     <td><a href="#grammar-production-subject">subject</a></td>
     <td>::=</td>
     <td><a href="#grammar-production-iri">iri</a> | <a href="#grammar-production-BlankNode">BlankNode</a> | <a href="#grammar-production-collection">collection</a> | <a href="#grammar-production-VAR1">VAR1</a></td>
@@ -844,10 +848,10 @@
     <td><a href="#grammar-production-iri">iri</a></td>
 </tr>
 <tr id="grammar-production-object">
-    <td>[12t]</td>
+    <td>[12t*]</td>
     <td><a href="#grammar-production-object">object</a></td>
     <td>::=</td>
-    <td><a href="#grammar-production-iri">iri</a> | <a href="#grammar-production-BlankNode">BlankNode</a> | <a href="#grammar-production-collection">collection</a> | <a href="#grammar-production-blankNodePropertyList">blankNodePropertyList</a> | <a href="#grammar-production-literal">literal</a></td>
+    <td><a href="#grammar-production-iri">iri</a> | <a href="#grammar-production-BlankNode">BlankNode</a> | <a href="#grammar-production-collection">collection</a> | <a href="#grammar-production-blankNodePropertyList">blankNodePropertyList</a> | <a href="#grammar-production-literal">literal</a> | <a href="#grammar-production-VAR1">VAR1</a></td>
 </tr>
 <tr id="grammar-production-literal">
     <td>[13t]</td>
@@ -1076,6 +1080,7 @@
 
 
 
+
     </section>
 
     <section class="appendix" id="media-registration">