From ade543268430b595a7aef9fd14c19e2b1d22770d Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Wed, 12 Jul 2006 13:13:26 +0000 Subject: [PATCH] First skeleton of documentation for "other commands". --- helm/software/matita/help/C/matita.xml | 2 + helm/software/matita/help/C/sec_commands.xml | 239 +++++++++++++++++- helm/software/matita/help/C/sec_terms.xml | 12 + .../matita/help/C/sec_usernotation.xml | 3 + 4 files changed, 251 insertions(+), 5 deletions(-) diff --git a/helm/software/matita/help/C/matita.xml b/helm/software/matita/help/C/matita.xml index 98d6489f3..8a9aee15e 100644 --- a/helm/software/matita/help/C/matita.xml +++ b/helm/software/matita/help/C/matita.xml @@ -46,6 +46,8 @@ proof-step"> tactic"> LCF-tactical"> + string"> + interpretation"> ]> diff --git a/helm/software/matita/help/C/sec_commands.xml b/helm/software/matita/help/C/sec_commands.xml index 243960cf9..0ea8c06f9 100644 --- a/helm/software/matita/help/C/sec_commands.xml +++ b/helm/software/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/helm/software/matita/help/C/sec_terms.xml b/helm/software/matita/help/C/sec_terms.xml index 945a43837..a44131ebd 100644 --- a/helm/software/matita/help/C/sec_terms.xml +++ b/helm/software/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/helm/software/matita/help/C/sec_usernotation.xml b/helm/software/matita/help/C/sec_usernotation.xml index dd1362d02..5956cf51c 100644 --- a/helm/software/matita/help/C/sec_usernotation.xml +++ b/helm/software/matita/help/C/sec_usernotation.xml @@ -7,6 +7,9 @@ &TODO; + + interpretation: &TODO; + -- 2.39.2