| 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" {>= "3.7.1" & < "3.8.0~"} |
| 21 |
"rocq-core" {>= "9.0+rc1" & < "9.3~" | = "dev"} |
| 22 |
"ppx_optcomp" |
| 23 |
"ocaml-lsp-server" {with-dev-setup} |
| 24 |
"odoc" {with-doc} |
| 25 |
"rocq-stdlib" {with-doc} |
| 26 |
] |
| 27 |
build: [ |
| 28 |
["dune" "subst"] {dev} |
| 29 |
[ |
| 30 |
"etc/with-rocq-wrap.sh" {!coq-core:installed} |
| 31 |
"dune" |
| 32 |
"build" |
| 33 |
"-p" |
| 34 |
name |
| 35 |
"-j" |
| 36 |
jobs |
| 37 |
"@install" |
| 38 |
"@runtest" {with-test} |
| 39 |
"@doc" {with-doc} |
| 40 |
] |
| 41 |
] |
| 42 |
dev-repo: "git+https://github.com/LPCIC/coq-elpi.git" |