Module Ltac2_plugin.Tac2interp
type environment
= Tac2env.environment
val empty_environment : environment
val interp : environment -> Tac2expr.glb_tacexpr -> Tac2ffi.valexpr Proofview.tactic
val interp_value : environment -> Tac2expr.glb_tacexpr -> Tac2ffi.valexpr
Same as
interp
but assumes that the argument is a syntactic value.
Cross-boundary encodings
val get_env : Ltac_pretype.unbound_ltac_var_map -> environment
val set_env : environment -> Ltac_pretype.unbound_ltac_var_map -> Ltac_pretype.unbound_ltac_var_map
Exceptions
exception
LtacError of Names.KerName.t * Tac2ffi.valexpr array
Ltac2-defined exceptions seen from OCaml side
Backtrace
val get_backtrace : Tac2expr.backtrace Proofview.tactic
val with_frame : Tac2expr.frame -> 'a Proofview.tactic -> 'a Proofview.tactic
val print_ltac2_backtrace : bool Stdlib.ref