diff options
author | Maxime Dénès <mail@maximedenes.fr> | 2017-10-23 14:27:04 +0200 |
---|---|---|
committer | Maxime Dénès <mail@maximedenes.fr> | 2018-03-08 17:16:08 +0100 |
commit | b16633a5dc044e5d95c73b4c912ec7232f9caf12 (patch) | |
tree | 848f64b9dde07bec3244a2c0137f7dc72b5c06b7 /plugins/nsatz | |
parent | 3875a525ee1e075be9f0eb1f17c74726e9f38b43 (diff) |
Make most of TACTIC EXTEND macros runtime calls.
Today, TACTIC EXTEND generates ad-hoc ML code that registers the tactic
and its parsing rule. Instead, we make it generate a typed AST that is
passed to the parser and a generic tactic execution routine.
PMP has written a small parser that can generate the same typed ASTs
without relying on camlp5, which is overkill for such simple macros.
Diffstat (limited to 'plugins/nsatz')
-rw-r--r-- | plugins/nsatz/g_nsatz.ml4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/nsatz/g_nsatz.ml4 b/plugins/nsatz/g_nsatz.ml4 index c8112eaa9..4ac49adb9 100644 --- a/plugins/nsatz/g_nsatz.ml4 +++ b/plugins/nsatz/g_nsatz.ml4 @@ -9,6 +9,7 @@ (************************************************************************) open Ltac_plugin +open Stdarg DECLARE PLUGIN "nsatz_plugin" |