]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/help/C/sec_usernotation.xml
freescale porting, work in progress
[helm.git] / helm / software / matita / help / C / sec_usernotation.xml
index 734e95692b135e39325c118db8b95666519fb832..e141bd85997a9a82ea23adf6395b2c9ab0867587 100644 (file)
@@ -84,7 +84,7 @@
        <row>
         <entry/>
         <entry>|</entry>
-        <entry><emphasis role="bold">left</emphasis> <emphasis role="bold">associative</emphasis></entry>
+        <entry><emphasis role="bold">right</emphasis> <emphasis role="bold">associative</emphasis></entry>
         <entry>Right associative</entry>
        </row>
        <row>
        <row>
         <entry id="grammar.notation_rhs">&notation_rhs;</entry>
         <entry>::=</entry>
+        <entry>&unparsed_ast;</entry>
+        <entry>&TODO;</entry>
+       </row>
+       <row>
+        <entry></entry>
+        <entry>|</entry>
+        <entry>&unparsed_meta;</entry>
+        <entry>&TODO;</entry>
+       </row>
+      </tbody>
+      </tgroup>
+     </table>
+
+    <table frame="topbot" rowsep="0" colsep="0" role="grammar">
+      <title>unparsed_ast</title>
+      <tgroup cols="4">
+      <tbody>
+       <row>
+        <entry id="grammar.unparsed_ast">&unparsed_ast;</entry>
+        <entry>::=</entry>
+        <entry><emphasis role="bold">@{</emphasis>&enriched_term;<emphasis role="bold">}</emphasis></entry>
+        <entry>A content level AST (a term which is parsed, but not disambiguated).</entry>
+       </row>
+       <row>
+        <entry></entry>
+        <entry>|</entry>
+        <entry><emphasis role="bold">@</emphasis>&id;</entry>
+        <entry><command>@id</command> is just an abbreviation for <command>@{id}</command></entry>
+       </row>
+       <row>
+        <entry></entry>
+        <entry>|</entry>
+        <entry><emphasis role="bold">@</emphasis>&csymbol;</entry>
+        <entry><command>@'symbol</command> is just an abbreviation for <command>@{'symbol}</command></entry>
+       </row>
+      </tbody>
+      </tgroup>
+     </table>
+
+    <table frame="topbot" rowsep="0" colsep="0" role="grammar">
+      <title>enriched_term</title>
+      <tgroup cols="4">
+      <tbody>
+       <row>
+        <entry id="grammar.enriched_term">&enriched_term;</entry>
+        <entry>::=</entry>
+        <entry>〈〈A term that may contain occurrences of &unparsed_meta;, even as variable names in binders, and occurrences of &csymbol;〉〉</entry>
+        <entry>&TODO;</entry>
+       </row>
+      </tbody>
+      </tgroup>
+     </table>
+
+    <table frame="topbot" rowsep="0" colsep="0" role="grammar">
+      <title>unparsed_meta</title>
+      <tgroup cols="4">
+      <tbody>
+       <row>
+        <entry id="grammar.unparsed_meta">&unparsed_meta;</entry>
+        <entry>::=</entry>
+        <entry><emphasis role="bold">${</emphasis>&level2_meta;<emphasis role="bold">}</emphasis></entry>
+        <entry>&TODO;</entry>
+       </row>
+       <row>
+        <entry></entry>
+        <entry>|</entry>
+        <entry><emphasis role="bold">$</emphasis>&id;</entry>
+        <entry><command>$id</command> is just an abbreviation for <command>${id}</command></entry>
+       </row>
+       <row>
+        <entry></entry>
+        <entry>|</entry>
+        <entry><emphasis role="bold">$</emphasis><emphasis role="bold">_</emphasis></entry>
+        <entry><command>$_</command> is just an abbreviation for <command>${_}</command></entry>
+       </row>
+      </tbody>
+      </tgroup>
+     </table>
+
+    <table frame="topbot" rowsep="0" colsep="0" role="grammar">
+      <title>level2_meta</title>
+      <tgroup cols="4">
+      <tbody>
+       <row>
+        <entry id="grammar.level2_meta">&level2_meta;</entry>
+        <entry>::=</entry>
+        <entry>&unparsed_ast;</entry>
+        <entry>&TODO;</entry>
+       </row>
+       <row>
+        <entry></entry>
+        <entry>|</entry>
+        <entry><emphasis role="bold">term</emphasis> &nat; &id;</entry>
+        <entry>&TODO;</entry>
+       </row>
+       <row>
+        <entry></entry>
+        <entry>|</entry>
+        <entry><emphasis role="bold">number</emphasis> &id;</entry>
+        <entry>&TODO;</entry>
+       </row>
+       <row>
+        <entry></entry>
+        <entry>|</entry>
+        <entry><emphasis role="bold">ident</emphasis> &id;</entry>
+        <entry>&TODO;</entry>
+       </row>
+       <row>
+        <entry></entry>
+        <entry>|</entry>
+        <entry><emphasis role="bold">fresh</emphasis> &id;</entry>
+        <entry>&TODO;</entry>
+       </row>
+       <row>
+        <entry></entry>
+        <entry>|</entry>
+        <entry><emphasis role="bold">anonymous</emphasis></entry>
+        <entry>&TODO;</entry>
+       </row>
+       <row>
+        <entry></entry>
+        <entry>|</entry>
+        <entry>&id;</entry>
+        <entry>&TODO;</entry>
+       </row>
+       <row>
+        <entry></entry>
+        <entry>|</entry>
+        <entry><emphasis role="bold">fold</emphasis> [<emphasis role="bold">left</emphasis>|<emphasis role="bold">right</emphasis>] &level2_meta; <emphasis role="bold">rec</emphasis> &id; &level2_meta;</entry>
+        <entry>&TODO;</entry>
+       </row>
+       <row>
+        <entry></entry>
+        <entry>|</entry>
+        <entry><emphasis role="bold">default</emphasis> &level2_meta; &level2_meta;</entry>
+        <entry>&TODO;</entry>
+       </row>
+       <row>
+        <entry></entry>
+        <entry>|</entry>
+        <entry><emphasis role="bold">if</emphasis> &level2_meta; <emphasis role="bold">then</emphasis> &level2_meta; <emphasis role="bold">else</emphasis> &level2_meta;</entry>
         <entry>&TODO;</entry>
+       </row>
+       <row>
+        <entry></entry>
+        <entry>|</entry>
+        <entry><emphasis role="bold">fail</emphasis></entry>
         <entry>&TODO;</entry>
        </row>
       </tbody>
        <row>
         <entry></entry>
         <entry>|</entry>
-        <entry><emphasis role="bold">\frac</emphasis> &layout; &layout;</entry>
+        <entry>&layout; <emphasis role="bold">\frac</emphasis> &layout;</entry>
         <entry>Fraction</entry>
        </row>
+       <row>
+        <entry></entry>
+        <entry>|</entry>
+        <entry><emphasis role="bold">\infrule</emphasis> &layout; &layout; &layout;</entry>
+        <entry>Inference rule (premises, conclusion, rule name)</entry>
+       </row>
        <row>
         <entry></entry>
         <entry>|</entry>
         <entry>List of layouts separated by <command>sep</command> (default:
                any blank)</entry>
        </row>
+
        <row>
         <entry></entry>
         <entry>|</entry>
         <entry>Non empty list of layouts separated by <command>sep</command>
                (default: any blank)</entry>
        </row>
+
+       <row>
+        <entry></entry>
+        <entry>|</entry>
+        <entry><emphasis role="bold">mstyle</emphasis> &id; value (&layout;)
+        </entry>
+        <entry>Style attributes like color #ff0000</entry>
+       </row>
+
+       <row>
+        <entry></entry>
+        <entry>|</entry>
+        <entry><emphasis role="bold">mpadded</emphasis> &id; value (&layout;)
+        </entry>
+        <entry>padding attributes like width -150%</entry>
+       </row>
+
+       <row>
+        <entry></entry>
+        <entry>|</entry>
+       <entry><emphasis role="bold">maction</emphasis> (&layout;)
+               [ (&layout;) … ]
+        </entry>
+        <entry>Alternative notations (output only)</entry>
+       </row>
+
+
       </tbody>
       </tgroup>
     </table>
        <row>
         <entry></entry>
         <entry>|</entry>
-        <entry><emphasis role="bold">_</emphasis></entry>
+        <entry><emphasis role="bold">?</emphasis></entry>
         <entry>An implicit parameter</entry>
        </row>
        <row>