coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jason Gross <jasongross9 AT gmail.com>
- To: coq-club AT inria.fr, James Wilcox <wilcoxjay AT gmail.com>
- Cc: jrw12 AT cs.washington.edu
- Subject: Re: [Coq-Club] Suggestions for Proof General?
- Date: Fri, 17 Jun 2016 13:49:17 +0000
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jasongross9 AT gmail.com; spf=Pass smtp.mailfrom=jasongross9 AT gmail.com; spf=None smtp.helo=postmaster AT mail-oi0-f44.google.com
- Ironport-phdr: 9a23:Zu4tHRYtLVJUJ46cQ38lCAn/LSx+4OfEezUN459isYplN5qZpcW+bnLW6fgltlLVR4KTs6sC0LqH9fG4EjJcqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aJBzzOEJPK/jvHcaK1oLsh7H0qsWYPVkArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIZoGJ/3dKUgTLFeEC9ucyVsvJWq5lH/Sl6E4WJZWWELmDJJBRLE5Vf0RNO5kCL/u/E15yieNsrmBeQrWDCp6LdpQQ7AhyIONjp/+2bS3J9elqVe9TCovBt5i6HOZ5qOfK58d7jae9wAQnFaD+5eUiVABsW3aI5ZXLlJBvpRs4So/whGlhC5HwT5Qbq3kjI=
In the HoTT library, we use proviola to autogenerate documentation that allows playback on hovering (e.g., http://hott.github.io/HoTT/proviola-html/HoTT.Types.Equiv.html , http://hott.github.io/HoTT/proviola-html/toc.html). We could surely use better css (pull requests welcome!), perhaps even something sphinx-like, but it serves as a nice example because the generation is all done fully automatically on Travis CI. (The scripts are in etc/ci/*, and if I recall correctly, the relevant one calls `make proviola` in our makefile.)
On Fri, Jun 17, 2016, 5:52 AM Alan Schmitt <alan.schmitt AT polytechnique.org> wrote:
On 2016-06-16 18:30, James Wilcox <wilcoxjay AT gmail.com> writes:
> It's pretty embarrassing to show this dirty hack in public. Surely there is a
> better way!
I don't know if this is better, and it clearly is ugly without a nice
CSS and syntax highlighting (both are easy to set up), but I use
org-mode to document and execute Coq developments. Here is an example
input file http://alan.petitepomme.net/tips/test_coq_exec.org and the
resulting output http://alan.petitepomme.net/tips/test_coq_exec.html.
The glue code to do it is at
http://alan.petitepomme.net/tips/executing_coq.html
To document Coq code from outside the development (if you don't want to
have too much prose in your code), you can use this approach
http://alan.petitepomme.net/tips/documenting_coq.html
Best,
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2015-05: 403.94, 2016-05: 407.70
- Re: [Coq-Club] Suggestions for Proof General?, (continued)
- Re: [Coq-Club] Suggestions for Proof General?, Clément Pit--Claudel, 06/15/2016
- Re: [Coq-Club] Suggestions for Proof General?, Pierre Courtieu, 06/16/2016
- Re: [Coq-Club] Suggestions for Proof General?, Jonathan Leivent, 06/16/2016
- Re: [Coq-Club] Suggestions for Proof General?, Clément Pit--Claudel, 06/16/2016
- Re: [Coq-Club] Suggestions for Proof General?, Pierre Courtieu, 06/16/2016
- Re: [Coq-Club] Suggestions for Proof General?, Jonathan Leivent, 06/16/2016
- Re: [Coq-Club] Suggestions for Proof General?, Gabriel Scherer, 06/16/2016
- Re: [Coq-Club] Suggestions for Proof General?, Clément Pit--Claudel, 06/16/2016
- Re: [Coq-Club] Suggestions for Proof General?, James Wilcox, 06/16/2016
- Re: [Coq-Club] Suggestions for Proof General?, Nico, 06/17/2016
- Re: [Coq-Club] Suggestions for Proof General?, Alan Schmitt, 06/17/2016
- Re: [Coq-Club] Suggestions for Proof General?, Jason Gross, 06/17/2016
- Re: [Coq-Club] Suggestions for Proof General?, James Wilcox, 06/16/2016
- Re: [Coq-Club] Suggestions for Proof General?, Emilio Jesús Gallego Arias, 06/17/2016
- Re: [Coq-Club] Suggestions for Proof General?, Clément Pit--Claudel, 06/17/2016
- Re: [Coq-Club] Suggestions for Proof General?, Emilio Jesús Gallego Arias, 06/17/2016
- Re: [Coq-Club] Suggestions for Proof General?, Clément Pit--Claudel, 06/17/2016
- Re: [Coq-Club] Suggestions for Proof General?, Paul A. Steckler, 06/17/2016
- Re: [Coq-Club] Suggestions for Proof General?, Emilio Jesús Gallego Arias, 06/17/2016
- Re: [Coq-Club] Suggestions for Proof General?, Emilio Jesús Gallego Arias, 06/17/2016
- Re: [Coq-Club] Suggestions for Proof General?, Jonathan Leivent, 06/17/2016
- Re: [Coq-Club] Suggestions for Proof General?, Clément Pit--Claudel, 06/17/2016
- Re: [Coq-Club] Suggestions for Proof General?, Jonathan Leivent, 06/17/2016
- Re: [Coq-Club] Suggestions for Proof General?, Clément Pit--Claudel, 06/17/2016
- Re: [Coq-Club] Suggestions for Proof General?, Emilio Jesús Gallego Arias, 06/17/2016
- Re: [Coq-Club] Suggestions for Proof General?, Clément Pit--Claudel, 06/17/2016
- Re: [Coq-Club] Suggestions for Proof General?, Clément Pit--Claudel, 06/16/2016
- Re: [Coq-Club] Suggestions for Proof General?, Pierre Courtieu, 06/16/2016
- Re: [Coq-Club] Suggestions for Proof General?, Clément Pit--Claudel, 06/15/2016
Archive powered by MHonArc 2.6.18.