X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FmatitaEngine.mli;h=e8cdbad0e18cff1f9efe869fe2b8482b11aaed7b;hb=97c2d258a5c524eb5c4b85208899d80751a2c82f;hp=249bad8f487bedc80240b247b3c508445307691c;hpb=94c9255e1f3095440f4d49ea1d75443a5a343185;p=helm.git diff --git a/helm/matita/matitaEngine.mli b/helm/matita/matitaEngine.mli index 249bad8f4..e8cdbad0e 100644 --- a/helm/matita/matitaEngine.mli +++ b/helm/matita/matitaEngine.mli @@ -24,28 +24,39 @@ *) exception Drop +exception UnableToInclude of string +exception IncludedFileNotCompiled of string -val eval_string: MatitaTypes.status ref -> string -> unit +(* 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 ref -> char Stream.t -> - (MatitaTypes.status -> - (CicAst.term,TacticAst.obj,string) TacticAst.statement -> unit) -> + ?do_heavy_checks:bool -> + ?include_paths:string list -> + ?clean_baseuri:bool -> + MatitaTypes.status ref -> Ulexing.lexbuf -> + (MatitaTypes.status -> GrafiteParser.statement -> unit) -> unit val eval_from_stream_greedy: - MatitaTypes.status ref-> char Stream.t -> - (MatitaTypes.status -> - (CicAst.term,TacticAst.obj,string) TacticAst.statement -> unit) -> + ?do_heavy_checks:bool -> + ?include_paths:string list -> + ?clean_baseuri:bool -> + MatitaTypes.status ref-> Ulexing.lexbuf -> + (MatitaTypes.status -> GrafiteParser.statement -> unit) -> unit val eval_ast: + ?do_heavy_checks:bool -> + ?include_paths:string list -> + ?clean_baseuri:bool -> MatitaTypes.status -> - (CicAst.term,TacticAst.obj,string) TacticAst.statement -> - MatitaTypes.status - -val eval: - MatitaTypes.status -> (Cic.term,Cic.obj,string) TacticAst.statement -> + GrafiteParser.statement -> MatitaTypes.status val initial_status: MatitaTypes.status lazy_t