Skip to content

Commit

Permalink
extraction via dune, while keeping compatibility with coq_makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
palmskog committed May 27, 2020
1 parent 09db845 commit 8bc4511
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _CoqProject
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ theories/Buch.v
theories/CoefStructure.v
theories/Dickson.v
theories/DivTerm.v
theories/Extract.v
theories/Fred.v
theories/LetP.v
theories/LexiOrder.v
Expand All @@ -34,3 +33,4 @@ theories/Pspminus.v
theories/Pspoly.v
theories/Term.v
theories/WfR0.v
src/Extract.v
4 changes: 2 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
(lang dune 2.4)
(using coq 0.1)
(lang dune 2.5)
(using coq 0.2)
(name coq-buchberger)
4 changes: 2 additions & 2 deletions theories/Extract.v → src/Extract.v
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
(* *)
(*****************************************************************************)

Require Import LexiOrder.
Require Import BuchRed.
Require Import Buchberger.LexiOrder.
Require Import Buchberger.BuchRed.
Require Extraction.

Extraction
Expand Down
5 changes: 5 additions & 0 deletions src/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(coq.extraction
(prelude Extract)
(extracted_modules sin_num)
(theories Buchberger)
(flags -w -extraction-opaque-accessed))

0 comments on commit 8bc4511

Please sign in to comment.