(* Parsing the command-line option for the Mini-ML compiler/interpreter *)
type options = {
input : string option;
eval : bool;
compile : string option;
libs : string list;
verbose : Utils.String.Set.t;
raw_edits : bool
}
let abort msg =
Utils.highlight (Printf.sprintf "Command-line error: %s" msg); exit 1
let printf = Printf.printf
let sprintf = Printf.sprintf
(* Help *)
let help () =
let file = Filename.basename Sys.argv.(0) in
printf "Usage: %s [