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 * Stdlib.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 inline_iterator : bool;
  14. mutable expand_nodes : bool;
  15. mutable expand_node_call : string list;
  16. mutable expand_arrays : bool;
  17. mutable expand_io_type : bool;
  18. mutable optim_ite : bool;
  19. mutable oc : Stdlib.out_channel;
  20. mutable tlex : bool;
  21. mutable exec : bool;
  22. mutable gen_c : bool;
  23. mutable rif : bool;
  24. mutable gen_ocaml : bool;
  25. mutable launch_cc : 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 one_op_per_equation : bool;
  9. mutable when_on_ident : bool;
  10. mutable no_when_not : bool;
  11. mutable no_prefix : bool;
  12. mutable nonreg_test : bool;
  13. mutable current_file : string;
  14. mutable line_num : int;
  15. mutable line_start_pos : int;
  16. mutable soc2c_no_switch : bool;
  17. mutable soc2c_one_file : bool;
  18. mutable soc2c_inline_loops : bool;
  19. mutable soc2c_global_ctx : bool;
  20. mutable soc2c_dro : bool;
  21. mutable gen_wcet : bool;
  22. mutable io_transmit_mode : io_transmit_mode;
  23. mutable schedul_mode : schedul_mode;
}
val paranoid : Lv6Verbose.flag
val global_opt : global_opt
val parse : string array -> t
val usage : Stdlib.out_channel -> t -> unit
val full_usage : Stdlib.out_channel -> t -> unit
val lexbuf_of_file_name : string -> Stdlib.Lexing.lexbuf