342 toplevel_pp ["Scan", "lexicon"] "Lexicon.pp_lexicon"; |
342 toplevel_pp ["Scan", "lexicon"] "Lexicon.pp_lexicon"; |
343 toplevel_pp ["Task_Queue", "task"] "Pretty.str o Task_Queue.str_of_task"; |
343 toplevel_pp ["Task_Queue", "task"] "Pretty.str o Task_Queue.str_of_task"; |
344 toplevel_pp ["Task_Queue", "group"] "Pretty.str o Task_Queue.str_of_group"; |
344 toplevel_pp ["Task_Queue", "group"] "Pretty.str o Task_Queue.str_of_group"; |
345 toplevel_pp ["Position", "T"] "Pretty.position"; |
345 toplevel_pp ["Position", "T"] "Pretty.position"; |
346 toplevel_pp ["Binding", "binding"] "Binding.pp"; |
346 toplevel_pp ["Binding", "binding"] "Binding.pp"; |
347 toplevel_pp ["Thm", "thm"] "Proof_Display.pp_thm"; |
347 toplevel_pp ["Thm", "thm"] "Proof_Display.pp_thm Thy_Info.pure_theory"; |
348 toplevel_pp ["Thm", "cterm"] "Proof_Display.pp_cterm"; |
348 toplevel_pp ["Thm", "cterm"] "Proof_Display.pp_cterm Thy_Info.pure_theory"; |
349 toplevel_pp ["Thm", "ctyp"] "Proof_Display.pp_ctyp"; |
349 toplevel_pp ["Thm", "ctyp"] "Proof_Display.pp_ctyp Thy_Info.pure_theory"; |
|
350 toplevel_pp ["typ"] "Proof_Display.pp_typ Thy_Info.pure_theory"; |
350 toplevel_pp ["Context", "theory"] "Context.pretty_thy"; |
351 toplevel_pp ["Context", "theory"] "Context.pretty_thy"; |
351 toplevel_pp ["Context", "Proof", "context"] "Proof_Display.pp_context"; |
352 toplevel_pp ["Context", "Proof", "context"] "Proof_Display.pp_context"; |
352 toplevel_pp ["Ast", "ast"] "Ast.pretty_ast"; |
353 toplevel_pp ["Ast", "ast"] "Ast.pretty_ast"; |
353 toplevel_pp ["Path", "T"] "Path.pretty"; |
354 toplevel_pp ["Path", "T"] "Path.pretty"; |
354 toplevel_pp ["SHA1", "digest"] "Pretty.str o quote o SHA1.rep"; |
355 toplevel_pp ["SHA1", "digest"] "Pretty.str o quote o SHA1.rep"; |
362 (* the Pure theory *) |
363 (* the Pure theory *) |
363 |
364 |
364 use "ML/ml_file.ML"; |
365 use "ML/ml_file.ML"; |
365 Runtime.toplevel_program (fn () => Thy_Info.use_thy ("Pure", Position.none)); |
366 Runtime.toplevel_program (fn () => Thy_Info.use_thy ("Pure", Position.none)); |
366 Context.set_thread_data NONE; |
367 Context.set_thread_data NONE; |
367 structure Pure = struct val thy = Thy_Info.get_theory "Pure" end; |
368 structure Pure = struct val thy = Thy_Info.pure_theory () end; |
368 |
|
369 toplevel_pp ["typ"] "Proof_Display.pp_typ Pure.thy"; |
|
370 |
369 |
371 |
370 |
372 (* ML toplevel commands *) |
371 (* ML toplevel commands *) |
373 |
372 |
374 fun use_thys args = |
373 fun use_thys args = |