X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FmatitaEngine.mli;h=6c8b8660518eb70cf07d5ae20e6a0c3f839cb5cf;hb=f981a524748846acc29b76b6e616af110b4ee13d;hp=d549405bbb6064c97db11300c916c6b00da36f4b;hpb=f8b2057d349dd9903ad8b1dd05f894cb0fa14378;p=helm.git diff --git a/helm/matita/matitaEngine.mli b/helm/matita/matitaEngine.mli index d549405bb..6c8b86605 100644 --- a/helm/matita/matitaEngine.mli +++ b/helm/matita/matitaEngine.mli @@ -23,21 +23,43 @@ * http://helm.cs.unibo.it/ *) -(*val eval_ast:*) +exception Drop +exception UnableToInclude of string +exception IncludedFileNotCompiled of string -val eval_string: MatitaTypes.status -> string -> MatitaTypes.status +type statement = + (CicNotationPt.term, GrafiteAst.obj, string) GrafiteAst.statement + +(* heavy checks slow down the compilation process but give you some interesting + * infos like if the theorem is a duplicate *) +val eval_string: + ?do_heavy_checks:bool -> + ?include_paths:string list -> + ?clean_baseuri:bool -> + MatitaTypes.status ref -> string -> unit val eval_from_stream: - MatitaTypes.status -> char Stream.t -> - (MatitaTypes.status -> (CicAst.term,string) TacticAst.statement -> unit) -> - MatitaTypes.status + ?do_heavy_checks:bool -> + ?include_paths:string list -> + ?clean_baseuri:bool -> + MatitaTypes.status ref -> char Stream.t -> + (MatitaTypes.status -> statement -> unit) -> + unit -val eval_ast: - MatitaTypes.status -> (CicAst.term, string) TacticAst.statement -> - MatitaTypes.status +val eval_from_stream_greedy: + ?do_heavy_checks:bool -> + ?include_paths:string list -> + ?clean_baseuri:bool -> + MatitaTypes.status ref-> char Stream.t -> + (MatitaTypes.status -> statement -> unit) -> + unit -val eval: - MatitaTypes.status -> (Cic.term, string) TacticAst.statement -> +val eval_ast: + ?do_heavy_checks:bool -> + ?include_paths:string list -> + ?clean_baseuri:bool -> + MatitaTypes.status -> + statement -> MatitaTypes.status val initial_status: MatitaTypes.status lazy_t