diff options
| author | Pierre-Marie Pédrot | 2017-09-04 15:24:33 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2017-09-04 19:04:00 +0200 |
| commit | d80e854d6827252676c2c504bb3108152a94d629 (patch) | |
| tree | b55d89f904b88076be311d2b07a60f7da780bfce /src/tac2expr.mli | |
| parent | dd2a9aa0fd0a8d725f131223a4e0a01de8a98e1e (diff) | |
Quick-and-dirty backtrace mechanism for the interpreter.
Diffstat (limited to 'src/tac2expr.mli')
| -rw-r--r-- | src/tac2expr.mli | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/tac2expr.mli b/src/tac2expr.mli index 470323e7c7..36c3fbbe59 100644 --- a/src/tac2expr.mli +++ b/src/tac2expr.mli @@ -205,6 +205,16 @@ and closure = { (** Global constant from which the closure originates *) } -type ml_tactic = valexpr list -> valexpr Proofview.tactic +type frame = +| FrLtac of ltac_constant option +| FrPrim of ml_tactic_name +| FrExtn : ('a, 'b) Tac2dyn.Arg.tag * 'b -> frame -type environment = valexpr Id.Map.t +type backtrace = frame list + +type ml_tactic = backtrace -> valexpr list -> valexpr Proofview.tactic + +type environment = { + env_ist : valexpr Id.Map.t; + env_bkt : backtrace; +} |
