forked from rescript-lang/rescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.mli
50 lines (36 loc) · 1.91 KB
/
config.mli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
(**************************************************************************)
(* *)
(* OCaml *)
(* *)
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
(* *)
(* Copyright 1996 Institut National de Recherche en Informatique et *)
(* en Automatique. *)
(* *)
(* All rights reserved. This file is distributed under the terms of *)
(* the GNU Lesser General Public License version 2.1, with the *)
(* special exception on linking described in the file LICENSE. *)
(* *)
(**************************************************************************)
(* System configuration *)
val version : string
(* The current version number of the system *)
val standard_library : string
(* The directory containing the standard libraries *)
val syntax_kind : [ `ml | `rescript ] ref
val bs_only : bool ref
val unsafe_empty_array : bool ref
val load_path : string list ref
(* Directories in the search path for .cmi and .cmo files *)
val interface_suffix : string ref
(* Suffix for interface file names *)
val cmi_magic_number : string
(* Magic number for compiled interface files *)
val ast_intf_magic_number : string
(* Magic number for file holding an interface syntax tree *)
val ast_impl_magic_number : string
(* Magic number for file holding an implementation syntax tree *)
val cmt_magic_number : string
(* Magic number for compiled interface files *)
val default_uncurry : bool ref
val print_config : out_channel -> unit