<commit_before>(*  Title:      Pure/ML-Systems/poplogml.ML
    ID:         $Id$
    Author:     Makarius

Compatibility file for Poplog/PML (version 15.6/2.1).
*)

(* Compiler and runtime options *)

val _ = Compile.filetype := ".ML";
val _ = Memory.hilim := 10 * ! Memory.hilim;
val _ = Memory.stacklim := 10 * ! Memory.stacklim;

fun pointer_eq (_: 'a, _: 'a) = false;


(* ML toplevel *)

fun ml_prompts p1 p2 = ();

fun make_pp path pprint = ();
fun install_pp _ = ();

fun print_depth _ = ();

fun exception_trace f = f ();
fun profile (n: int) f x = f x;



(** Basis structures **)

structure General =
struct
  exception Subscript = Array.Subscript;<commit_msg>tuned Memory.hilim;<commit_after>(*  Title:      Pure/ML-Systems/poplogml.ML
    ID:         $Id$
    Author:     Makarius

Compatibility file for Poplog/PML (version 15.6/2.1).
*)

(* Compiler and runtime options *)

val _ = Compile.filetype := ".ML";
val _ = Memory.hilim := let fun MB n = n div 4 * 1024 * 1024 in MB 120 end;
val _ = Memory.stacklim := 10 * ! Memory.stacklim;

fun pointer_eq (_: 'a, _: 'a) = false;


(* ML toplevel *)

fun ml_prompts p1 p2 = ();

fun make_pp path pprint = ();
fun install_pp _ = ();

fun print_depth _ = ();

fun exception_trace f = f ();
fun profile (n: int) f x = f x;



(** Basis structures **)

structure General =
struct
  exception Subscript = Array.Subscript;
{'fraction_non_alphanumeric': 0.14545454545454545, 'fraction_numerical': 0.02327272727272727, 'mean_word_length': 3.0710059171597632, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1761360', 'n_tokens_mistral': 529, 'n_tokens_neox': 497, 'n_words': 145}