X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FmatitaEngine.mli;h=280b6c8f47d273a6cac415b3feb8eb52e487e6c4;hb=d1126c6b78a3333bbf415daf027004496b77c2f4;hp=7ceb965e9959c68e5ca8404dda60481039515abd;hpb=619a3a478a4f6b0a50782b620009f6a141c30a53;p=helm.git diff --git a/helm/matita/matitaEngine.mli b/helm/matita/matitaEngine.mli index 7ceb965e9..280b6c8f4 100644 --- a/helm/matita/matitaEngine.mli +++ b/helm/matita/matitaEngine.mli @@ -25,35 +25,43 @@ exception Drop exception UnableToInclude of string +exception IncludedFileNotCompiled of string + +type statement = + (CicNotationPt.term, CicNotationPt.term, GrafiteAst.reduction, 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: ?do_heavy_checks:bool -> ?include_paths:string list -> + ?clean_baseuri:bool -> MatitaTypes.status ref -> char Stream.t -> - (MatitaTypes.status -> - (CicAst.term,TacticAst.obj,string) TacticAst.statement -> unit) -> + (MatitaTypes.status -> statement -> unit) -> unit val eval_from_stream_greedy: ?do_heavy_checks:bool -> ?include_paths:string list -> + ?clean_baseuri:bool -> MatitaTypes.status ref-> char Stream.t -> - (MatitaTypes.status -> - (CicAst.term,TacticAst.obj,string) TacticAst.statement -> unit) -> + (MatitaTypes.status -> 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 -> + statement -> MatitaTypes.status val initial_status: MatitaTypes.status lazy_t