1996-11-29 08:55:09 -08:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* Objective Caml *)
|
|
|
|
(* *)
|
|
|
|
(* Jerome Vouillon, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* Objective Caml port by John Malecki and Xavier Leroy *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 1996 Institut National de Recherche en Informatique et *)
|
1999-11-17 10:59:06 -08:00
|
|
|
(* en Automatique. All rights reserved. This file is distributed *)
|
|
|
|
(* under the terms of the Q Public License version 1.0. *)
|
1996-11-29 08:55:09 -08:00
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(* $Id$ *)
|
|
|
|
|
|
|
|
(* Miscellaneous parameters *)
|
|
|
|
|
|
|
|
open Primitives
|
|
|
|
open Config
|
|
|
|
open Misc
|
|
|
|
|
|
|
|
let program_loaded = ref false
|
|
|
|
let program_name = ref ""
|
|
|
|
let socket_name = ref ""
|
|
|
|
let arguments = ref ""
|
|
|
|
|
|
|
|
let default_load_path = ref [ "."; Config.standard_library ]
|
|
|
|
|
|
|
|
let add_path dir =
|
|
|
|
load_path := dir :: except dir !load_path;
|
|
|
|
Envaux.reset_cache()
|
|
|
|
|
|
|
|
(* Used by emacs ? *)
|
|
|
|
let emacs = ref false
|