package lustre-v6

  1. Overview
  2. Docs
type enum_mode =
  1. | AsInt
  2. | AsBool
  3. | AsConst
  4. | AsEnum
type io_transmit_mode =
  1. | Stack
  2. | Heap
  3. | HeapStack
type schedul_mode =
  1. | Simple
  2. | Sort
  3. | Reorder
type t = {
  1. mutable opts : (string * Arg.spec * string) list;
  2. mutable user_man : (string * string list) list;
  3. mutable hidden_man : (string * string list) list;
  4. mutable dev_man : (string * string list) list;
  5. mutable others : string list;
  6. mutable margin : int;
  7. mutable outfile : string;
  8. mutable infiles : string list;
  9. mutable main_node : string;
  10. mutable compile_all_items : bool;
  11. mutable run_unit_test : bool;
  12. mutable print_interface : bool;
  13. mutable expand_nodes : bool;
  14. mutable expand_node_call : string list;
  15. mutable expand_arrays : bool;
  16. mutable expand_io_type : bool;
  17. mutable optim_ite : bool;
  18. mutable oc : out_channel;
  19. mutable tlex : bool;
  20. mutable exec : bool;
  21. mutable gen_c : bool;
  22. mutable rif : bool;
  23. mutable gen_ocaml : bool;
  24. mutable launch_cc : bool;
  25. mutable ext_types : bool;
  26. mutable launch_exec : bool;
  27. mutable precision : int option;
  28. mutable gen_lic : bool;
  29. mutable keep_aliases : bool;
}
type global_opt = {
  1. mutable dir : string;
  2. mutable gen_c_inline_predef : bool;
  3. mutable lv4 : bool;
  4. mutable kcg : bool;
  5. mutable ec : bool;
  6. mutable gen_autotest : bool;
  7. mutable expand_enums : enum_mode;
  8. mutable inline_iterator : bool;
  9. mutable one_op_per_equation : bool;
  10. mutable one_op_per_equation_set : bool;
  11. mutable when_on_ident : bool;
  12. mutable no_when_not : bool;
  13. mutable no_prefix : bool;
  14. mutable nonreg_test : bool;
  15. mutable current_file : string;
  16. mutable line_num : int;
  17. mutable line_start_pos : int;
  18. mutable soc2c_no_switch : bool;
  19. mutable soc2c_one_file : bool;
  20. mutable soc2c_inline_loops : bool;
  21. mutable soc2c_global_ctx : bool;
  22. mutable soc2c_dro : bool;
  23. mutable multi_core : bool;
  24. mutable gen_wcet : bool;
  25. mutable io_transmit_mode : io_transmit_mode;
  26. mutable schedul_mode : schedul_mode;
}
val paranoid : Lv6Verbose.flag
val global_opt : global_opt
val parse : string array -> t
val usage : out_channel -> t -> unit
val full_usage : out_channel -> t -> unit
val lexbuf_of_file_name : string -> Lexing.lexbuf
OCaml

Innovation. Community. Security.