Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to coq/coq#19690 (generic_tactic avoids dependency on ltac(?)) #128

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/abstraction.mlg
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,18 @@
DECLARE PLUGIN "coq-paramcoq.plugin"

{
open Ltac_plugin
open Feedback
open Stdarg
open Tacarg
open Parametricity
open Declare_translation
}

VERNAC COMMAND EXTEND SetParametricityTactic CLASSIFIED AS SIDEFF
| #[ locality = Tactic_option.tac_option_locality; ]
[ "Parametricity" "Tactic" ":=" tactic(t) ] -> {
[ "Parametricity" "Tactic" ":=" generic_tactic(t) ] -> {
Relations.set_parametricity_tactic
locality
(Tacintern.glob_tactic t) }
(Gentactic.intern (Global.env()) t) }
END

VERNAC COMMAND EXTEND ShowTable CLASSIFIED AS QUERY
Expand Down
2 changes: 1 addition & 1 deletion src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
(public_name coq-paramcoq.plugin)
(synopsis "Plugin for generating parametricity statements to perform refinement proofs")
(flags :standard -rectypes -w -9-27)
(libraries coq-core.plugins.ltac))
(libraries coq-core.plugins.ltac)) ; not sure if ltac dep is real
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe not. I'm not even sure why there is a dune file here since this is compiled with coq_makefile, we could probably just remove it.


(coq.pp (modules abstraction))
1 change: 0 additions & 1 deletion src/relations.ml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
(**************************************************************************)


open Ltac_plugin
open Names
open Globnames
open Libobject
Expand Down
Loading