X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fgrafite%2FgrafiteAst.ml;h=b0c25bc1e361f2a8ea892bd3686c9b8fa80cbd96;hb=25994144125d60389df12799062793d30203bcab;hp=fea24e42bc8b30249adfd7ddcbea4cc43d1a25c6;hpb=1acfe506c30e7fcc9d6e427d2523130c371a1159;p=helm.git diff --git a/helm/software/components/grafite/grafiteAst.ml b/helm/software/components/grafite/grafiteAst.ml index fea24e42b..b0c25bc1e 100644 --- a/helm/software/components/grafite/grafiteAst.ml +++ b/helm/software/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