coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Enrico Tassi <enrico.tassi AT inria.fr>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Coq syntax to XML
- Date: Thu, 9 Oct 2014 11:32:42 +0200
On Thu, Oct 09, 2014 at 10:02:34AM +0200, Carst Tankink wrote:
> hypotheses, for example) and I expect it would be possible to use the
> functions introduced for printing the AST to also print the statements in
> the goals as XML, but that will take a while to be done, so I have no idea
> if it'll make it into 8.5
IIRC some Coq working groups ago Yann told me he had a patch that makes
the textual pretty printer "predict" the location of the terms.
Today to print a term one goes trough the AST data we can print in XML,
but the locations are dummy. To recover them, one would need to
re-parse what was just printed.
I have not seen this patch merged, but if it gets in the repo then we
are golden.
WRT Ltac, I think it is possible to print the generic, extensible, AST.
It is just that Francois did not need it.
In any case help is very welcome, the XML pretty printer is not 100%
complete, but is not very hard to contribute to that piece of code.
Best,
--
Enrico Tassi
- [Coq-Club] Coq syntax to XML, Kenneth Roe, 10/09/2014
- Re: [Coq-Club] Coq syntax to XML, Carst Tankink, 10/09/2014
- Re: [Coq-Club] Coq syntax to XML, Enrico Tassi, 10/09/2014
- Re: [Coq-Club] Coq syntax to XML, Carst Tankink, 10/09/2014
Archive powered by MHonArc 2.6.18.