src/Pure/ML-Systems/smlnj.ML
changeset 14520 af9d7fcf873e
parent 14519 4ca3608fdf4f
child 14656 765badface6a
equal deleted inserted replaced
14519:4ca3608fdf4f 14520:af9d7fcf873e
    44 
    44 
    45 (case #version_id (Compiler.version) of
    45 (case #version_id (Compiler.version) of
    46   [110, x] => if x >= 45
    46   [110, x] => if x >= 45
    47 	      then use "ML-Systems/cpu-timer-basis.ML"
    47 	      then use "ML-Systems/cpu-timer-basis.ML"
    48 	      else use "ML-Systems/cpu-timer-gc.ML"
    48 	      else use "ML-Systems/cpu-timer-gc.ML"
    49 | _ => ());
    49 | _ => use "ML-Systems/cpu-timer-gc.ML");
    50 
    50 
    51 
    51 
    52 (* prompts *)
    52 (* prompts *)
    53 
    53 
    54 fun ml_prompts p1 p2 =
    54 fun ml_prompts p1 p2 =
    65 
    65 
    66 (case #version_id (Compiler.version) of
    66 (case #version_id (Compiler.version) of
    67   [110, x] => if x >= 45
    67   [110, x] => if x >= 45
    68 	      then use "ML-Systems/smlnj-pp-new.ML"
    68 	      then use "ML-Systems/smlnj-pp-new.ML"
    69 	      else use "ML-Systems/smlnj-pp-old.ML"
    69 	      else use "ML-Systems/smlnj-pp-old.ML"
    70 | _ => ());
    70 | _ => use "ML-Systems/smlnj-pp-old.ML");
    71 
    71 
    72 fun install_pp (path, pp) = Compiler.PPTable.install_pp path pp;
    72 fun install_pp (path, pp) = Compiler.PPTable.install_pp path pp;
    73 
    73 
    74 
    74 
    75 (* ML command execution *)
    75 (* ML command execution *)