equal
deleted
inserted
replaced
194 let |
194 let |
195 val _ = SHA1.test_samples () |
195 val _ = SHA1.test_samples () |
196 handle exn as Fail msg => (Output.physical_stderr (msg ^ "\n"); Exn.reraise exn); |
196 handle exn as Fail msg => (Output.physical_stderr (msg ^ "\n"); Exn.reraise exn); |
197 val _ = Output.physical_stderr Symbol.STX; |
197 val _ = Output.physical_stderr Symbol.STX; |
198 |
198 |
199 val _ = Printer.show_markup_default := true; |
|
200 val _ = Context.put_generic_context NONE; |
199 val _ = Context.put_generic_context NONE; |
201 val _ = |
200 val _ = |
202 Unsynchronized.change print_mode |
201 Unsynchronized.change print_mode |
203 (fn mode => (mode @ default_modes1) |> fold (update op =) default_modes2); |
202 (fn mode => (mode @ default_modes1) |> fold (update op =) default_modes2); |
204 |
203 |
215 fun init_options () = |
214 fun init_options () = |
216 (ML_Print_Depth.set_print_depth (Options.default_int "ML_print_depth"); |
215 (ML_Print_Depth.set_print_depth (Options.default_int "ML_print_depth"); |
217 Future.ML_statistics := Options.default_bool "ML_statistics"; |
216 Future.ML_statistics := Options.default_bool "ML_statistics"; |
218 Multithreading.trace := Options.default_int "threads_trace"; |
217 Multithreading.trace := Options.default_int "threads_trace"; |
219 Multithreading.max_threads_update (Options.default_int "threads"); |
218 Multithreading.max_threads_update (Options.default_int "threads"); |
220 Goal.parallel_proofs := Options.default_int "parallel_proofs"); |
219 Goal.parallel_proofs := Options.default_int "parallel_proofs"; |
|
220 Printer.show_markup_default := false); |
221 |
221 |
222 fun init_options_interactive () = |
222 fun init_options_interactive () = |
223 (init_options (); |
223 (init_options (); |
224 Goal.parallel_proofs := (if Options.default_int "parallel_proofs" > 0 then 3 else 0)); |
224 Goal.parallel_proofs := (if Options.default_int "parallel_proofs" > 0 then 3 else 0); |
225 |
225 Printer.show_markup_default := true); |
226 end; |
226 |
|
227 end; |