1- coq-dpdgraph
2- ============
1+ <!-- -
2+ This file was generated from `meta.yml`, please do not edit manually.
3+ Follow the instructions on https://github.com/coq-community/templates to regenerate.
4+ --->
5+ # coq-dpdgraph
36
4- Build dependency graphs between Coq objects,
5- where Coq is the famous formal proof management system (see
6- http://coq.inria.fr/ ).
7+ [ ![ Docker CI] [ docker-action-shield ]] [ docker-action-link ]
8+ [ ![ Contributing] [ contributing-shield ]] [ contributing-link ]
9+ [ ![ Code of Conduct] [ conduct-shield ]] [ conduct-link ]
10+ [ ![ Zulip] [ zulip-shield ]] [ zulip-link ]
711
8- Travis CI status on master branch: [ ![ Build Status] ( https://travis-ci.org/Karmaki/coq-dpdgraph.svg?branch=master )] ( https://travis-ci.org/Karmaki/coq-dpdgraph )
12+ [ docker-action-shield ] : https://github.com/coq-community/coq-dpdgraph/workflows/Docker%20CI/badge.svg?branch=coq-v8.14
13+ [ docker-action-link ] : https://github.com/coq-community/coq-dpdgraph/actions?query=workflow:"Docker%20CI"
914
10- ## What's inside ?
15+ [ contributing-shield ] : https://img.shields.io/badge/contributions-welcome-%23f7931e.svg
16+ [ contributing-link ] : https://github.com/coq-community/manifesto/blob/master/CONTRIBUTING.md
1117
12- First of all, it is a small tool (a Coq plug-in) that extracts the
18+ [ conduct-shield ] : https://img.shields.io/badge/%E2%9D%A4-code%20of%20conduct-%23f15a24.svg
19+ [ conduct-link ] : https://github.com/coq-community/manifesto/blob/master/CODE_OF_CONDUCT.md
20+
21+ [ zulip-shield ] : https://img.shields.io/badge/chat-on%20zulip-%23c1272d.svg
22+ [ zulip-link ] : https://coq.zulipchat.com/#narrow/stream/237663-coq-community-devs.20.26.20users
23+
24+
25+
26+ Coq plugin that extracts the dependencies between Coq objects,
27+ and produces files with dependency information. Includes tools
28+ to visualize dependency graphs and find unused definitions.
29+
30+ ## Meta
31+
32+ - Author(s):
33+ - Anne Pacalet
34+ - Yves Bertot
35+ - Olivier Pons
36+ - Coq-community maintainer(s):
37+ - Anne Pacalet ([ ** @Karmaki ** ] ( https://github.com/Karmaki ) )
38+ - Yves Bertot ([ ** @ybertot ** ] ( https://github.com/ybertot ) )
39+ - License: [ GNU Lesser General Public License v2.1] ( LICENSE )
40+ - Compatible Coq versions: 8.14 (use the corresponding branch or release for other Coq versions)
41+ - Compatible OCaml versions: 4.05.0 or later
42+ - Additional dependencies:
43+ - autoconf (except for releases)
44+ - [ OCamlgraph] ( https://github.com/backtracking/ocamlgraph )
45+ - Coq namespace: ` dpdgraph `
46+ - Related publication(s): none
47+
48+ ## What's inside?
49+
50+ First of all, it is a small tool (a Coq plugin) that extracts the
1351dependencies between Coq objects, and produces a file (we suggest using
1452the suffix .dpd) with this information.
1553
@@ -25,25 +63,16 @@ Hope other tools later on to do more things. Feel free to contribute!
2563## How to get it
2664
2765You can:
28- - either clone it from GitHub at: https://github.com/Karmaki /coq-dpdgraph
66+ - either clone it from GitHub at: https://github.com/coq-community /coq-dpdgraph
2967- or get the opam package named ` coq-dpdgraph ` from the opam-coq archive (repository "released")
30- - or get the
31- [ latest distributed version] ( https://github.com/Karmaki/coq-dpdgraph/releases )
32- ### Compilation
68+ - or get the [ latest distributed version] ( https://github.com/coq-community/coq-dpdgraph/releases )
3369
34- #### Requirements
35-
36- - The latest version runs with Coq 8.11
37- - it has been tested with a version of Coq installed using opam and with
38- Ocaml version 4.09.0
39- - [ ocamlgraph] ( http://ocamlgraph.lri.fr/ ) (for dpd2dot tool)
40- Any version should work since only the basic feature are used.
41-
42- #### Compile from the pre-packaged source archive or the git repository
70+ ### Compilation
4371
44- First download the archive, unpack it, and change directory to the ` coq-dpdgraph ` directory.
72+ First download the archive and unpack it (or clone the repository),
73+ and change directory to the ` coq-dpdgraph ` directory.
4574
46- Depending on how you got hold of the archive , you may be in one of three situations:
75+ Depending on how you got hold of the directory , you may be in one of three situations:
4776
4877 1/ Makefile is present
4978
@@ -64,23 +93,21 @@ Depending on how you got hold of the archive, you may be in one of three situati
6493 $ autoconf
6594 $ configure && make && make install
6695
67- #### lenient compilation
96+ By default, compilation will fail if there is any warning emitted by
97+ the ocaml compiler. This can be disabled by type
6898
69- By default, compilation will fail if there is any warning emitted by
70- the ocaml compiler. This can be disabled by type
99+ make WARN_ERR=
71100
72- make WARN_ERR=
101+ instead of ` make ` in all previous commands.
73102
74- instead of ` make ` in all previous commands.
103+ ### Install using opam
75104
76- #### install using opam
77-
78- If you use opam, you can install ` coq-dpdgraph ` and ` ocamlgraph `
105+ If you use opam, you can install ` coq-dpdgraph ` and ` ocamlgraph ` using
79106
80107 $ opam repo add coq-released https://coq.inria.fr/opam/released
81108 $ opam install coq-dpdgraph
82109
83- #### Test
110+ ### Test
84111
85112If you install the archive by cloning the git repository, you have
86113a sub-directory containing test files. These can be tested using the
@@ -96,13 +123,12 @@ to check if everything is ok.
96123
97124- to have compiled the tools (see above)
98125- a compiled Coq file.
99- You can for instance use `` tests/Test.v `` (a modified clone of Coq `` List.v ` ` )
100- and compile it doing :
101- ```
126+ You can for instance use ` tests/Test.v ` (a modified clone of Coq ` List.v ` )
127+ and compile it doing :
128+ ``` shell
102129 $ coqc tests/Test.v
103130```
104-
105-
131+
106132### Generation of .dpd files
107133
108134The available commands are :
@@ -237,7 +263,7 @@ references 0 times. You can specify max number of references allowed
237263
238264## Development information
239265
240- #### Generated `` .dpd `` format description
266+ ### Generated `` .dpd `` format description
241267
242268```
243269graph : obj_list
@@ -278,10 +304,9 @@ Each tool can then pick the attributes that it is able to handle;
278304 they are not supposed to raise an error whenever there is
279305 an unknown attribute.
280306
281-
282307## More information
283308
284309Also see:
285310- [ CHANGES] ( CHANGES.md )
286311- [ distributed versions] ( https://anne.pacalet.fr/dev/dpdgraph/ )
287- - [ coq-dpdgraph in Travis CI ] ( https://travis-ci.org/Karmaki/coq-dpdgraph/ )
312+
0 commit comments