coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Épiphanie <landeguy AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Some questions on interface with coqtop
- Date: Sun, 13 Dec 2015 01:24:53 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=landeguy AT gmail.com; spf=Pass smtp.mailfrom=landeguy AT gmail.com; spf=None smtp.helo=postmaster AT mail-wm0-f42.google.com
- Ironport-phdr: 9a23:zx0VXRXampTbiX+HsQ64LnX2LE3V8LGtZVwlr6E/grcLSJyIuqrYZhaCt8tkgFKBZ4jH8fUM07OQ6PC+HzRYqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aJBzzOEJPK/jvHcaK1oLsh770o8WbSj4LrQT+SIs6FA+xowTVu5teqqpZAYF19CH0pGBVcf9d32JiKAHbtR/94sCt4MwrqHwI6Lpyv/JHBK79ZuEzSaFSJDUgKWE8osPx5jfZSg7aR2MdSmUflBtFS1zB5Rf2U5jsowP1s+N83G+ROsigHuN8Yiir86o+EEygsywALTNsqGw=
Oki, I'll post on this then.
See: https://coq.inria.fr/bugs/show_bug.cgi?id=3945
Ltac is actually quite a bit more powerful than one might expect - than even its developers anticipated. For example, it is possible to write an Ltac tactic that can know the number of subgoals. It is even possible to write an Ltac tactic that can label the subgoals with their relative numbers.Could you show the syntax for this or a link I have missed? I checked again the official tutorial, and 2 others that were fully detailed but found nothing about this
A few other plugins that I have written might help
- template-coq (https://github.com/gmalecha/template-coq) constructs a syntactic representation of Coq terms within Coq.
- coq-plugin-utils (https://github.com/gmalecha/coq-plugin-utils) has a few functions that I have found useful when writing Coq plugins, particularly ones that extend Ltac.
Thomas Braibant also wrote a timing plugin that is documented. I'm not certain if it is still compatible with 8.5
https://github.com/braibant/Timing-plugin
Thanks Gregory for all those links, I will definitely take a close look at this, and try to learn from the source.
I'm just surprised there is no official documentation for this though.
Well, I shall try to write my own plugin then :think:
Thanks to both of you for your help so far!
- [Coq-Club] Some questions on interface with coqtop, Epiphanie, 12/11/2015
- Re: [Coq-Club] Some questions on interface with coqtop, Jonathan Leivent, 12/11/2015
- Re: [Coq-Club] Some questions on interface with coqtop, Gregory Malecha, 12/11/2015
- Re: [Coq-Club] Some questions on interface with coqtop, Jonathan Leivent, 12/12/2015
- Re: [Coq-Club] Some questions on interface with coqtop, Gregory Malecha, 12/12/2015
- Re: [Coq-Club] Some questions on interface with coqtop, Épiphanie, 12/13/2015
- Re: [Coq-Club] Some questions on interface with coqtop, Jonathan Leivent, 12/13/2015
- Re: [Coq-Club] Some questions on interface with coqtop, Épiphanie, 12/13/2015
- Re: [Coq-Club] Some questions on interface with coqtop, Gregory Malecha, 12/12/2015
- Re: [Coq-Club] Some questions on interface with coqtop, Jonathan Leivent, 12/12/2015
- Re: [Coq-Club] Some questions on interface with coqtop, Gregory Malecha, 12/11/2015
- Re: [Coq-Club] Some questions on interface with coqtop, Jonathan Leivent, 12/11/2015
Archive powered by MHonArc 2.6.18.