X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2Fgrafite%2FgrafiteAst.ml;h=b0c25bc1e361f2a8ea892bd3686c9b8fa80cbd96;hb=e016b4d32f05113a882e83a9fc8319751224c975;hp=fea24e42bc8b30249adfd7ddcbea4cc43d1a25c6;hpb=b8254cf86275b9d78b30a0b14974a6f23ad9be24;p=helm.git diff --git a/components/grafite/grafiteAst.ml b/components/grafite/grafiteAst.ml index fea24e42b..b0c25bc1e 100644 --- a/components/grafite/grafiteAst.ml +++ b/components/grafite/grafiteAst.ml @@ -60,11 +60,12 @@ type ('term, 'lazy_term, 'reduction, 'ident) tactic = | Apply of loc * 'term | ApplyS of loc * 'term * (string * string) list | Assumption of loc - | Auto of loc * (string * string) list + | AutoBatch of loc * (string * string) list | Cases of loc * 'term * 'ident intros_spec | Change of loc * ('term, 'lazy_term, 'ident) pattern * 'lazy_term | Clear of loc * 'ident list | ClearBody of loc * 'ident + | Compose of loc * 'term * 'term option * int * 'ident intros_spec | Constructor of loc * int | Contradiction of loc | Cut of loc * 'ident option * 'term @@ -113,7 +114,7 @@ type ('term, 'lazy_term, 'reduction, 'ident) tactic = | AndElim of loc * 'term * 'ident * 'term * 'ident * 'term | RewritingStep of loc * (string option * 'term) option * 'term * - [ `Term of 'term | `Auto of (string * string) list ] * + [ `Term of 'term | `Auto of (string * string) list | `Proof ] * bool (* last step*) type search_kind = [ `Locate | `Hint | `Match | `Elim ] @@ -125,24 +126,26 @@ type presentation_style = Declarative type 'term macro = (* Whelp's stuff *) - | WHint of loc * 'term + | WHint of loc * 'term | WMatch of loc * 'term | WInstance of loc * 'term | WLocate of loc * string | WElim of loc * 'term (* real macros *) | Check of loc * 'term - | Hint of loc + | Hint of loc * bool + | AutoInteractive of loc * (string * string) list | Inline of loc * presentation_style * string * string (* URI or base-uri, name prefix *) (** To be increased each time the command type below changes, used for "safe" * marshalling *) -let magic = 11 +let magic = 12 type ('term,'obj) command = | Index of loc * 'term option (* key *) * UriManager.uri (* value *) - | Coercion of loc * UriManager.uri * bool (* add_obj *) * int (* arity *) + | Coercion of loc * UriManager.uri * bool (* add_obj *) * + int (* arity *) * int (* saturations *) | Default of loc * string * UriManager.uri list | Drop of loc | Include of loc * string