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

[extra-dev] Add rocq-elpi #3343

Merged
merged 1 commit into from
Feb 18, 2025
Merged
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
32 changes: 3 additions & 29 deletions extra-dev/packages/coq-elpi/coq-elpi.dev/opam
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "Elpi extension language for Coq"
description:
"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."
synopsis: "Compatibility metapackage for Elpi extension language after the Rocq renaming"
maintainer: ["Enrico Tassi <[email protected]>"]
authors: ["Enrico Tassi <[email protected]>"]
license: "LGPL-2.1-or-later"
Expand All @@ -15,31 +13,7 @@ tags: [
homepage: "https://github.com/LPCIC/coq-elpi"
bug-reports: "https://github.com/LPCIC/coq-elpi/issues"
depends: [
"dune" {>= "3.13"}
"ocaml" {>= "4.10.0"}
"stdlib-shims"
"elpi" {>= "2.0.3" & < "2.1.0~"}
"coq" {= "dev"}
"ppx_optcomp"
"ocaml-lsp-server" {with-dev-setup}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[ make "elpi/dune" ]
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
"coq-core"
"rocq-elpi" {= version}
]
dev-repo: "git+https://github.com/LPCIC/coq-elpi.git"
url {
src: "git+https://github.com/LPCIC/coq-elpi.git"
}
47 changes: 47 additions & 0 deletions extra-dev/packages/rocq-elpi/rocq-elpi.dev/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "Elpi extension language for Coq"
description:
"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."
maintainer: ["Enrico Tassi <[email protected]>"]
authors: ["Enrico Tassi <[email protected]>"]
license: "LGPL-2.1-or-later"
tags: [
"category:Miscellaneous/Coq Extensions"
"keyword:λProlog"
"keyword:higher order abstract syntax"
"logpath:elpi"
]
homepage: "https://github.com/LPCIC/coq-elpi"
bug-reports: "https://github.com/LPCIC/coq-elpi/issues"
depends: [
"dune" {>= "3.13"}
"ocaml" {>= "4.10.0"}
"elpi" {>= "2.0.7" & < "2.1.0~"}
("coq" {>= "8.20+rc1" & < "8.21~"}
| "rocq-core" {(>= "9.0+rc1" & < "9.1~") | = "dev"})
"ppx_optcomp"
"ocaml-lsp-server" {with-dev-setup}
"odoc" {with-doc}
"rocq-stdlib" {with-doc}
]
build: [
["dune" "subst"] {dev}
[make "dune-files"]
[
"etc/with-rocq-wrap.sh" {!coq-core:installed}
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/LPCIC/coq-elpi.git"
url {
src: "git+https://github.com/LPCIC/coq-elpi.git"
}