package lustre-v6

  1. Overview
  2. Docs

Choose between the various C code generators (heap-based, Stack based, etc).

the "Dep" in the module name means "Depends", but I'm not happy with this name...

val gen_assign_var_expr : Soc.t -> Soc.var_expr -> Soc.var_expr -> string
val step_name : Soc.key -> string -> string
val get_step_prototype : Soc.step_method -> Soc.t -> string * string * string
val string_of_var_expr : Soc.t -> Soc.var_expr -> string
val ctx_var : Soc2cUtil.var_kind -> Soc.t -> Lv6Id.t -> string
val gen_step_call : Soc.t -> Soc.t -> Soc.var_expr list -> Soc.var_expr list -> string -> string -> string -> string
val inlined_soc : Soc.key -> bool
val get_predef_op : Soc.key -> string

Returns the C code corresponding a soc key

val get_iterator : Soc.t -> string -> Soc.t -> int -> string

Returns the C code implementing an iterator (map, fill, red)

val get_condact : Soc.t -> Soc.t -> Soc.var_expr list -> string

Returns the C code implementing a condact

val get_boolred : Soc.t -> int -> int -> int -> string

Returns the C code implementing a boolred

val typedef_of_soc : Soc.t -> string
OCaml

Innovation. Community. Security.