equal
deleted
inserted
replaced
131 PolyML.Compiler.maxInlineSize := 80; |
131 PolyML.Compiler.maxInlineSize := 80; |
132 |
132 |
133 fun ml_prompts p1 p2 = (PolyML.Compiler.prompt1 := p1; PolyML.Compiler.prompt2 := p2); |
133 fun ml_prompts p1 p2 = (PolyML.Compiler.prompt1 := p1; PolyML.Compiler.prompt2 := p2); |
134 |
134 |
135 |
135 |
|
136 (* ML debugger *) |
|
137 |
|
138 use "ML-Systems/ml_debugger_dummy.ML"; |
|
139 if ML_System.name = "polyml-5.5.3" then use "ML-Systems/ml_debugger_polyml-5.5.3.ML" else (); |
|
140 |
|
141 |
136 (* ML toplevel pretty printing *) |
142 (* ML toplevel pretty printing *) |
137 |
143 |
138 use "ML-Systems/ml_pretty.ML"; |
144 use "ML-Systems/ml_pretty.ML"; |
139 |
145 |
140 local |
146 local |
186 ("PolyML.addPrettyPrinter (fn _ => fn _ => ml_pretty o Pretty.to_ML o (" ^ pp ^ "))"); |
192 ("PolyML.addPrettyPrinter (fn _ => fn _ => ml_pretty o Pretty.to_ML o (" ^ pp ^ "))"); |
187 |
193 |
188 fun ml_make_string struct_name = |
194 fun ml_make_string struct_name = |
189 "(fn x => Pretty.string_of (Pretty.from_ML (pretty_ml (PolyML.prettyRepresentation (x, " ^ |
195 "(fn x => Pretty.string_of (Pretty.from_ML (pretty_ml (PolyML.prettyRepresentation (x, " ^ |
190 struct_name ^ ".ML_print_depth ())))))"; |
196 struct_name ^ ".ML_print_depth ())))))"; |
191 |
|