Imandra_codegenThis module provides serialization/deserialization for all types defined in logic mode.
module Serde_yojson : sig ... endmodule Gen_pp : sig ... endmodule Gen_json : sig ... endmodule Gen_rand : sig ... endmodule Gen_finite_type : sig ... endval make : ?timestamp:bool -> ?mod_name:string -> unit -> tMake a new code generator
val plugins : t -> Imandra_surface.Plugin.setCurrent set of plugins
val add_yojson : t -> unitAdd yojson plugin to the code generator
val add_pp : t -> unitAdd pretty-printing plugin to the code generator
val add_rand : t -> unitAdd random generation plugin to the code generator
val add_json : mod_name:string -> t -> unitAdd json plugin to the code generator
val add_header : t -> string -> unitAdd the given header before the generated code
val add_events : t -> Imandra_surface.Event.t list -> unitDo code generation for the given events
val to_string : t -> stringObtain the code for defining (de)serialization code for the imandra types addded to t.
val to_file : t -> string -> unitto_file c filename dumps the code into the given file.