From: Claudio Sacerdoti Coen Date: Wed, 12 Jul 2006 13:13:26 +0000 (+0000) Subject: First skeleton of documentation for "other commands". X-Git-Tag: 0.4.95@7852~1219 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=f90f8c9a11c19b882a8fbe4aea6bf46f7751c2f1;p=helm.git First skeleton of documentation for "other commands". --- diff --git a/matita/help/C/matita.xml b/matita/help/C/matita.xml index 98d6489f3..8a9aee15e 100644 --- a/matita/help/C/matita.xml +++ b/matita/help/C/matita.xml @@ -46,6 +46,8 @@ proof-step"> tactic"> LCF-tactical"> + string"> + interpretation"> ]> diff --git a/matita/help/C/sec_commands.xml b/matita/help/C/sec_commands.xml index 243960cf9..0ea8c06f9 100644 --- a/matita/help/C/sec_commands.xml +++ b/matita/help/C/sec_commands.xml @@ -2,15 +2,244 @@ Other commands - - Introduction + + alias + alias id "s" = "def" + alias symbol "s" (instance n) = "def" + alias num (instance n) = "def" - &TODO; + + + Synopsis: + + alias + [id "&string;" = "&string;" + | symbol "&string;" [(instance &nat;)] = "&string;" + | num [(instance &nat;)] = "&string;" + ] + + + + + Action: + + Used to give an hint to the disambiguating parser. + When the parser is faced to the identifier (or symbol) + s or to any number, it will prefer + interpretations that "map s (or the + number) to def". For identifiers, + "def" is the URI of the interpretation. + E.g.: cic:/matita/nat/nat.ind#xpointer(1/1/1) + for the first constructor of the first inductive type defined + in the block of inductive type(s) + cic:/matita/nat/nat.ind. + For symbols and numbers, "def" is the label used to + mark the wanted + interpretation. + + When a symbol or a number occurs several times in the + term to be parsed, it is possible to give an hint only for the + instance n. When the instance is omitted, + the hint is valid for every occurrence. + + + Hints are automatically inserted in the script by Matita every + time the user is interactively asked a question to disambiguate + a term. This way the user won't be posed the same question twice + when the script will be executed again. + + + + + + + check + + + + + Synopsis: + + check + + + + + Action: + + &TODO; + + + + + + + coercion + + + + + Synopsis: + + coercion + + + + + Action: + + &TODO; + + + + + + + default + + + + + Synopsis: + + default + + + + + Action: + + &TODO; + + + + + + + hint + + + + + Synopsis: + + hint + + + + + Action: + + &TODO; + + + + + + + include + + + + + Synopsis: + + include + + + + + Action: + + &TODO; + + + + + + + include' + + + + + Synopsis: + + include' + + + + + Action: + + &TODO; + + + + + + + set + + + + + Synopsis: + + set + + + + + Action: + + &TODO; + + + + + + + whelp + + + + + Synopsis: + + whelp + + + + + Action: + + &TODO; + + + - Qed - &TODO; + qed + + + + + Synopsis: + + qed + + + + + Action: + + &TODO; + + + + diff --git a/matita/help/C/sec_terms.xml b/matita/help/C/sec_terms.xml index 945a43837..a44131ebd 100644 --- a/matita/help/C/sec_terms.xml +++ b/matita/help/C/sec_terms.xml @@ -26,6 +26,18 @@ Terms & co. Lexical conventions + + string + + + + &string; + ::= + 〈〈any sequence of characters excluded "〉〉 + + + +
id diff --git a/matita/help/C/sec_usernotation.xml b/matita/help/C/sec_usernotation.xml index dd1362d02..5956cf51c 100644 --- a/matita/help/C/sec_usernotation.xml +++ b/matita/help/C/sec_usernotation.xml @@ -7,6 +7,9 @@ &TODO; + + interpretation: &TODO; +