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 : unit -> tMake a new code generator
val plugins : t -> Imandra_surface.Event_def_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_event :
t ->
Imandra_surface.Event.DB.t ->
Imandra_surface.Event.t ->
Imandra_surface.Event.DB.t * Imandra_surface.Event_def_plugin.action listval add_events :
t ->
Imandra_surface.Event.DB.t ->
Imandra_surface.Event.t list ->
Imandra_surface.Event.DB.t * Imandra_surface.Event_def_plugin.action listDo code generation for the given events