Skip to content

Commit 90c7dc9

Browse files
authored
Merge pull request #3343 from proux01/rocq-elpi
[extra-dev] Add rocq-elpi
2 parents 625fb24 + a39cc13 commit 90c7dc9

File tree

2 files changed

+50
-29
lines changed
  • extra-dev/packages
    • coq-elpi/coq-elpi.dev
    • rocq-elpi/rocq-elpi.dev

2 files changed

+50
-29
lines changed
+3-29
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
3-
synopsis: "Elpi extension language for Coq"
4-
description:
5-
"Coq-elpi provides a Coq plugin that embeds ELPI. It also provides a way to embed Coq's terms into λProlog using the Higher-Order Abstract Syntax approach and a way to read terms back. In addition to that it exports to ELPI a set of Coq's primitives, e.g. printing a message, accessing the environment of theorems and data types, defining a new constant and so on. For convenience it also provides a quotation and anti-quotation for Coq's syntax in λProlog. E.g., `{{nat}}` is expanded to the type name of natural numbers, or `{{A -> B}}` to the representation of a product by unfolding the `->` notation. Finally it provides a way to define new vernacular commands and new tactics."
3+
synopsis: "Compatibility metapackage for Elpi extension language after the Rocq renaming"
64
maintainer: ["Enrico Tassi <[email protected]>"]
75
authors: ["Enrico Tassi <[email protected]>"]
86
license: "LGPL-2.1-or-later"
@@ -15,31 +13,7 @@ tags: [
1513
homepage: "https://github.com/LPCIC/coq-elpi"
1614
bug-reports: "https://github.com/LPCIC/coq-elpi/issues"
1715
depends: [
18-
"dune" {>= "3.13"}
19-
"ocaml" {>= "4.10.0"}
20-
"stdlib-shims"
21-
"elpi" {>= "2.0.3" & < "2.1.0~"}
22-
"coq" {= "dev"}
23-
"ppx_optcomp"
24-
"ocaml-lsp-server" {with-dev-setup}
25-
"odoc" {with-doc}
26-
]
27-
build: [
28-
["dune" "subst"] {dev}
29-
[ make "elpi/dune" ]
30-
[
31-
"dune"
32-
"build"
33-
"-p"
34-
name
35-
"-j"
36-
jobs
37-
"@install"
38-
"@runtest" {with-test}
39-
"@doc" {with-doc}
40-
]
16+
"coq-core"
17+
"rocq-elpi" {= version}
4118
]
4219
dev-repo: "git+https://github.com/LPCIC/coq-elpi.git"
43-
url {
44-
src: "git+https://github.com/LPCIC/coq-elpi.git"
45-
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# This file is generated by dune, edit dune-project instead
2+
opam-version: "2.0"
3+
synopsis: "Elpi extension language for Coq"
4+
description:
5+
"Coq-elpi provides a Coq plugin that embeds ELPI. It also provides a way to embed Coq's terms into λProlog using the Higher-Order Abstract Syntax approach and a way to read terms back. In addition to that it exports to ELPI a set of Coq's primitives, e.g. printing a message, accessing the environment of theorems and data types, defining a new constant and so on. For convenience it also provides a quotation and anti-quotation for Coq's syntax in λProlog. E.g., `{{nat}}` is expanded to the type name of natural numbers, or `{{A -> B}}` to the representation of a product by unfolding the `->` notation. Finally it provides a way to define new vernacular commands and new tactics."
6+
maintainer: ["Enrico Tassi <[email protected]>"]
7+
authors: ["Enrico Tassi <[email protected]>"]
8+
license: "LGPL-2.1-or-later"
9+
tags: [
10+
"category:Miscellaneous/Coq Extensions"
11+
"keyword:λProlog"
12+
"keyword:higher order abstract syntax"
13+
"logpath:elpi"
14+
]
15+
homepage: "https://github.com/LPCIC/coq-elpi"
16+
bug-reports: "https://github.com/LPCIC/coq-elpi/issues"
17+
depends: [
18+
"dune" {>= "3.13"}
19+
"ocaml" {>= "4.10.0"}
20+
"elpi" {>= "2.0.7" & < "2.1.0~"}
21+
("coq" {>= "8.20+rc1" & < "8.21~"}
22+
| "rocq-core" {(>= "9.0+rc1" & < "9.1~") | = "dev"})
23+
"ppx_optcomp"
24+
"ocaml-lsp-server" {with-dev-setup}
25+
"odoc" {with-doc}
26+
"rocq-stdlib" {with-doc}
27+
]
28+
build: [
29+
["dune" "subst"] {dev}
30+
[make "dune-files"]
31+
[
32+
"etc/with-rocq-wrap.sh" {!coq-core:installed}
33+
"dune"
34+
"build"
35+
"-p"
36+
name
37+
"-j"
38+
jobs
39+
"@install"
40+
"@runtest" {with-test}
41+
"@doc" {with-doc}
42+
]
43+
]
44+
dev-repo: "git+https://github.com/LPCIC/coq-elpi.git"
45+
url {
46+
src: "git+https://github.com/LPCIC/coq-elpi.git"
47+
}

0 commit comments

Comments
 (0)