X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fgrafite_parser%2FgrafiteParser.ml;h=cf2a6f95b6336e2f5581e6abd8d0f8b51e46d8c7;hb=8b7ad9b29b3448b72e476ba077e2d0faad86c058;hp=558eed081fbd845aa235c488b2bb176a4611cdd2;hpb=75de1f4c87166f120d8bb42d98926adaf407c98c;p=helm.git diff --git a/helm/software/components/grafite_parser/grafiteParser.ml b/helm/software/components/grafite_parser/grafiteParser.ml index 558eed081..cf2a6f95b 100644 --- a/helm/software/components/grafite_parser/grafiteParser.ml +++ b/helm/software/components/grafite_parser/grafiteParser.ml @@ -183,6 +183,8 @@ EXTEND tactic: [ [ IDENT "absurd"; t = tactic_term -> GrafiteAst.Absurd (loc, t) + | IDENT "apply"; IDENT "rule"; t = tactic_term -> + GrafiteAst.ApplyRule (loc, t) | IDENT "apply"; t = tactic_term -> GrafiteAst.Apply (loc, t) | IDENT "applyP"; t = tactic_term -> @@ -696,6 +698,8 @@ EXTEND let composites = match composites with None -> true | Some _ -> false in GrafiteAst.Coercion (loc, t, composites, arity, saturations) + | IDENT "unification"; IDENT "hint"; t = tactic_term -> + GrafiteAst.UnificationHint (loc, t) | IDENT "record" ; (params,name,ty,fields) = record_spec -> GrafiteAst.Obj (loc, Ast.Record (params,name,ty,fields)) | IDENT "default" ; what = QSTRING ; uris = LIST1 URI -> @@ -741,7 +745,8 @@ EXTEND [ ex = executable -> fun ?(never_include=false) ~include_paths status -> status,LSome(GrafiteAst.Executable (loc,ex)) | com = comment -> - fun ?(never_include=false) ~include_paths status -> status,LSome (GrafiteAst.Comment (loc, com)) + fun ?(never_include=false) ~include_paths status -> + status,LSome (GrafiteAst.Comment (loc, com)) | (iloc,fname,mode) = include_command ; SYMBOL "." -> !out fname; fun ?(never_include=false) ~include_paths status ->