X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fgrafite%2FgrafiteAst.ml;h=f6555fa04c7dd5ed86bb8c4f6c6bbe8d7fee4feb;hb=585469505faa97c21687128490828a1aabee94ee;hp=a83023140b3eb3d65fa1cd8652cfdab54848bc89;hpb=d58b48162ad53fb369d285e60a99f746a497ad89;p=helm.git diff --git a/helm/software/components/grafite/grafiteAst.ml b/helm/software/components/grafite/grafiteAst.ml index a83023140..f6555fa04 100644 --- a/helm/software/components/grafite/grafiteAst.ml +++ b/helm/software/components/grafite/grafiteAst.ml @@ -51,12 +51,16 @@ type 'term just = type ntactic = | NApply of loc * CicNotationPt.term + | NAssert of loc * ((string * [`Decl of CicNotationPt.term | `Def of CicNotationPt.term * CicNotationPt.term]) list * CicNotationPt.term) list | NCases of loc * CicNotationPt.term * npattern | NCase1 of loc * string | NChange of loc * npattern * CicNotationPt.term | NElim of loc * CicNotationPt.term * npattern + | NEval of loc * npattern * [ `Whd of bool ] + | NGeneralize of loc * npattern | NId of loc | NIntro of loc * string + | NLetIn of loc * npattern * CicNotationPt.term * string | NRewrite of loc * direction * CicNotationPt.term * npattern type ('term, 'lazy_term, 'reduction, 'ident) tactic = @@ -163,13 +167,16 @@ type ('term,'lazy_term) macro = (** To be increased each time the command type below changes, used for "safe" * marshalling *) -let magic = 17 +let magic = 19 type ('term,'obj) command = | Index of loc * 'term option (* key *) * UriManager.uri (* value *) + | Select of loc * UriManager.uri + | Pump of loc * int | Coercion of loc * 'term * bool (* add_obj *) * int (* arity *) * int (* saturations *) | PreferCoercion of loc * 'term + | Inverter of loc * string * 'term * bool list | UnificationHint of loc * 'term * int (* term, precedence *) | Default of loc * string * UriManager.uri list | Drop of loc @@ -181,6 +188,7 @@ type ('term,'obj) command = | Print of loc * string | Qed of loc | NObj of loc * CicNotationPt.term CicNotationPt.obj + | NQed of loc type punctuation_tactical = | Dot of loc