src/Pure/ML-Systems/use_context.ML
author blanchet
Thu, 29 Aug 2013 17:57:25 +0200
changeset 53266 89f7f1cc9ae3
parent 30672 beaadd5af500
permissions -rw-r--r--
cleaner handling of bootstrapping "fake" context, with fewer (no?) obscure bugs

(*  Title:      Pure/ML-Systems/use_context.ML
    Author:     Makarius

Common context for "use" operations (compiler invocation).
*)

type use_context =
 {tune_source: string -> string,
  name_space: ML_Name_Space.T,
  str_of_pos: int -> string -> string,
  print: string -> unit,
  error: string -> unit};