1
|
(********************************************************************)
|
2
|
(* *)
|
3
|
(* The LustreC compiler toolset / The LustreC Development Team *)
|
4
|
(* Copyright 2012 - -- ONERA - CNRS - INPT *)
|
5
|
(* *)
|
6
|
(* LustreC is free software, distributed WITHOUT ANY WARRANTY *)
|
7
|
(* under the terms of the GNU Lesser General Public License *)
|
8
|
(* version 2.1. *)
|
9
|
(* *)
|
10
|
(********************************************************************)
|
11
|
|
12
|
let include_dirs = ref [ "." ]
|
13
|
|
14
|
let main_node = ref ""
|
15
|
|
16
|
let static_mem = ref true
|
17
|
|
18
|
let print_types = ref false
|
19
|
|
20
|
let print_clocks = ref false
|
21
|
|
22
|
let delay_calculus = ref true
|
23
|
|
24
|
let track_exceptions = ref true
|
25
|
|
26
|
let ansi = ref false
|
27
|
|
28
|
let check = ref false
|
29
|
|
30
|
type option_spec =
|
31
|
| SpecNo
|
32
|
| SpecACSL
|
33
|
| SpecC
|
34
|
|
35
|
let spec = ref SpecNo
|
36
|
|
37
|
type option_output =
|
38
|
| OutC
|
39
|
| OutAda
|
40
|
| OutJava
|
41
|
| OutEMF
|
42
|
| OutHorn
|
43
|
| OutLustre
|
44
|
|
45
|
let output = ref OutC
|
46
|
|
47
|
let pp_output fmt =
|
48
|
Format.pp_print_string fmt (match !output with
|
49
|
| OutC -> "C"
|
50
|
| OutAda -> "Ada"
|
51
|
| OutJava -> "Java"
|
52
|
| OutEMF -> "EMF"
|
53
|
| OutHorn -> "Horn"
|
54
|
| OutLustre -> "Lustre")
|
55
|
|
56
|
let dest_dir = ref "."
|
57
|
|
58
|
let verbose_level = ref 1
|
59
|
|
60
|
let global_inline = ref false
|
61
|
|
62
|
let witnesses = ref false
|
63
|
|
64
|
let optimization = ref 2
|
65
|
|
66
|
let lusi = ref false
|
67
|
|
68
|
let print_nodes = ref false
|
69
|
|
70
|
let print_reuse = ref false
|
71
|
|
72
|
let const_unfold = ref false
|
73
|
|
74
|
let mpfr = ref false
|
75
|
|
76
|
let mpfr_prec = ref 100
|
77
|
|
78
|
let print_dec_types = ref false
|
79
|
|
80
|
let compile_header = ref true
|
81
|
|
82
|
(* Option to select the expected behavior of integer division: Euclidian or C.
|
83
|
Default C !!! *)
|
84
|
let integer_div_euclidean = ref false
|
85
|
|
86
|
let traces = ref false
|
87
|
|
88
|
let horn_cex = ref false
|
89
|
|
90
|
let horn_query = ref true
|
91
|
|
92
|
let cpp = ref false
|
93
|
|
94
|
let int_type = ref "int"
|
95
|
|
96
|
let real_type = ref "double"
|
97
|
|
98
|
let print_prec_double = ref 15
|
99
|
|
100
|
let print_prec_float = ref 10
|
101
|
|
102
|
let sfunction = ref ""
|
103
|
|
104
|
let mauve = ref ""
|
105
|
|
106
|
(* test generation options *)
|
107
|
let nb_mutants = ref 1000
|
108
|
|
109
|
let gen_mcdc = ref false
|
110
|
|
111
|
let no_mutation_suffix = ref false
|
112
|
|
113
|
(* Algebraic loops unrolling *)
|
114
|
let solve_al = ref false
|
115
|
|
116
|
let al_nb_max = ref 15
|
117
|
|
118
|
(* Printer options *)
|
119
|
let kind2_print = ref false
|
120
|
|
121
|
(* Local Variables: *)
|
122
|
(* compile-command:"make -C .." *)
|
123
|
(* End: *)
|