package herdtools7

  1. Overview
  2. Docs

The Typing module is yet a single-entry-point module. It only exports the function annotate_ast which fills type-annotations holes in the AST. It should provide enough information to disambiguate any type-dependent behaviour.

type strictness =
  1. | Silence
  2. | Warn
  3. | TypeCheck
  4. | TypeCheckNoWarn

Possible strictness of type-checking.

module type ANNOTATE_CONFIG = sig ... end
module type S = sig ... end
val type_and_run : ?instrumentation:bool -> AST.t -> int * Instrumentation.semantics_rule list
OCaml

Innovation. Community. Security.