source: Deliverables/D2.2/8051/src/options.mli @ 1462

Last change on this file since 1462 was 1462, checked in by ayache, 9 years ago

Added D5.1: Frama-C plug-in and Lustre wrapper. D2.2 (8051) has been updated accordingly.

File size: 2.0 KB
Line 
1(** This module defines the compiler general options. *)
2
3(** {2 Source language} *)
4val set_source_language : string -> unit
5val get_source_language : unit -> Languages.name
6
7(** {2 Target language} *)
8val set_target_language : string -> unit
9val get_target_language : unit -> Languages.name
10
11(** {2 Interpretation request} *)
12val request_interpretation   : bool -> unit
13val interpretation_requested : unit -> bool
14
15(** {2 Interpretation requests} *)
16val request_interpretations   : bool -> unit
17val interpretations_requested : unit -> bool
18
19(** {2 Annotation requests} *)
20val request_annotation   : bool -> unit
21val annotation_requested : unit -> bool
22
23(** {2 Input files} *)
24val add_input_file : string -> unit
25val input_files    : unit -> string list
26
27(** {2 Output files} *)
28val set_output_files : string -> unit
29val get_output_files : unit -> string option
30
31(** {2 Verbose mode} *)
32val is_debug_enabled : unit -> bool
33
34(** {2 Assembly pretty print} *)
35val set_asm_pretty : bool -> unit
36val is_asm_pretty  : unit -> bool
37
38(** {2 Lustre file} *)
39val set_lustre_file : bool -> unit
40val is_lustre_file  : unit -> bool
41
42(** {2 Remove Lustre externals} *)
43val set_remove_lustre_externals : bool -> unit
44val is_remove_lustre_externals  : unit -> bool
45
46(** {2 Lustre file and test requested} *)
47val set_lustre_test : string -> unit
48val get_lustre_test : unit -> string option
49
50(** {2 Lustre file: number of test cases} *)
51val set_lustre_test_cases : int -> unit
52val get_lustre_test_cases : unit -> int
53
54(** {2 Lustre file: number of cycles for each case} *)
55val set_lustre_test_cycles : int -> unit
56val get_lustre_test_cycles : unit -> int
57
58(** {2 Lustre file: random int minimum value} *)
59val set_lustre_test_min_int : int -> unit
60val get_lustre_test_min_int : unit -> int
61
62(** {2 Lustre file: random int maximum value} *)
63val set_lustre_test_max_int : int -> unit
64val get_lustre_test_max_int : unit -> int
65
66(*
67(** {2 Print results requests} *)
68val is_print_result_enabled : unit -> bool
69*)
70
71(** {2 Developers' playground} *)
72val is_dev_test_enabled : unit -> bool
Note: See TracBrowser for help on using the repository browser.