package acgtk

  1. Overview
  2. Docs
type program = {
  1. rules : Rule.Rules.t;
  2. pred_table : Predicate.PredIdTable.table;
  3. const_table : ConstGen.Table.table;
  4. i_preds : Predicate.PredIds.t;
  5. rule_id_gen : UtilsLib.IdGenerator.IntIdGen.t;
  6. e_pred_to_rules : Rule.Rules.t Predicate.PredIdMap.t;
}
type modifier = {
  1. modified_rules : Rule.Rules.t;
  2. new_pred_table : Predicate.PredIdTable.table;
  3. new_const_table : ConstGen.Table.table;
  4. new_i_preds : Predicate.PredIds.t;
  5. new_e_preds : Predicate.PredIds.t;
  6. new_rule_id_gen : UtilsLib.IdGenerator.IntIdGen.t;
}
val make_program : Proto_Program.t -> program
val extend : program -> Proto_Program.t -> program
val to_buffer : program -> Stdlib.Buffer.t
val log_content : ?src:Logs.src -> Logs.level -> program -> unit
OCaml

Innovation. Community. Security.