src/Pure/RAW/ROOT_polyml.ML
changeset 62505 9e2a65912111
parent 62504 f14f17e656a6
equal deleted inserted replaced
62504:f14f17e656a6 62505:9e2a65912111
    13 else use "RAW/fixed_int_dummy.ML";
    13 else use "RAW/fixed_int_dummy.ML";
    14 
    14 
    15 
    15 
    16 (* exceptions *)
    16 (* exceptions *)
    17 
    17 
    18 fun reraise exn =
       
    19   (case PolyML.exceptionLocation exn of
       
    20     NONE => raise exn
       
    21   | SOME location => PolyML.raiseWithLocation (exn, location));
       
    22 
       
    23 exception Interrupt = SML90.Interrupt;
       
    24 
       
    25 use "RAW/exn.ML";
    18 use "RAW/exn.ML";
    26 use "RAW/exn_trace.ML";
       
    27 
    19 
    28 
    20 
    29 (* multithreading *)
    21 (* multithreading *)
    30 
    22 
    31 val seconds = Time.fromReal;
    23 val seconds = Time.fromReal;
    81 
    73 
    82 
    74 
    83 (* ML compiler *)
    75 (* ML compiler *)
    84 
    76 
    85 use "RAW/secure.ML";
    77 use "RAW/secure.ML";
    86 
       
    87 structure ML_Name_Space =
       
    88 struct
       
    89   open ML_Name_Space;
       
    90   val display_val = ML_Pretty.from_polyml o displayVal;
       
    91 end;
       
    92 
       
    93 use "RAW/ml_compiler0.ML";
    78 use "RAW/ml_compiler0.ML";
    94 
    79 
    95 PolyML.Compiler.reportUnreferencedIds := true;
    80 PolyML.Compiler.reportUnreferencedIds := true;
       
    81 PolyML.Compiler.reportExhaustiveHandlers := true;
    96 PolyML.Compiler.printInAlphabeticalOrder := false;
    82 PolyML.Compiler.printInAlphabeticalOrder := false;
    97 PolyML.Compiler.maxInlineSize := 80;
    83 PolyML.Compiler.maxInlineSize := 80;
    98 PolyML.Compiler.prompt1 := "ML> ";
    84 PolyML.Compiler.prompt1 := "ML> ";
    99 PolyML.Compiler.prompt2 := "ML# ";
    85 PolyML.Compiler.prompt2 := "ML# ";
   100 
    86