exception TryingToAdd of string
exception EnrichedWithStatus of exn * GrafiteTypes.status
-let eval_from_stream ~first_statement_only ~include_paths
- ?do_heavy_checks ?(enforce_no_new_aliases=true)
- ?(watch_statuses=fun _ -> ()) status str cb
+let eval_from_stream ~include_paths ?do_heavy_checks
+ ?(enforce_no_new_aliases=true) ?(watch_statuses=fun _ -> ()) status str cb
=
let matita_debug = Helm_registry.get_bool "matita.debug" in
let rec loop status statuses =
- let loop =
- if first_statement_only then fun _ statuses -> statuses
- else loop
- in
let stop,g,s =
try
let cont =
(* should be used only by the compiler since it looses the
* disambiguation_context (text,prefix_len,_) *)
val eval_from_stream :
- first_statement_only:bool ->
include_paths:string list ->
?do_heavy_checks:bool ->
?enforce_no_new_aliases:bool -> (* default true *)
let grafite_status =
let rec aux_for_dump x grafite_status =
match
- MatitaEngine.eval_from_stream ~first_statement_only:false ~include_paths
- grafite_status buf x
+ MatitaEngine.eval_from_stream ~include_paths grafite_status buf x
with
| [] -> grafite_status
| (g,None)::_ -> g