Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] concerning Coq XML output

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] concerning Coq XML output


chronological Thread 
  • From: Hugo Herbelin <herbelin AT pauillac.inria.fr>
  • To: Benedikt.AHRENS AT unice.fr
  • Cc: Coq Club <coq-club AT pauillac.inria.fr>
  • Subject: Re: [Coq-Club] concerning Coq XML output
  • Date: Mon, 5 Oct 2009 16:40:33 +0200
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

Hi,

> I have a question concerning the XML output function of Coq:
> 
> I'd like to have a local copy of the Coq standard library in XML. Is 
> there a quick way to get this? For example, can I create the XML library 
> already when compiling Coq, by patching the make file ?

Explanations are in the Reference Manual (see
e.g. http://coq.inria.fr/doc/Reference-Manual018.html#toc94).

> when trying coqc -xml on some theory file of Coq's standard library 
> (here Datatypes.v), I get the error "Name Coq.Init starts with prefix 
> "Coq" which is reserved for the Coq library". Since the Coq library is 
> precisely what I want, how can I proceed here ?

In this situation, you need to use option -boot (and, for Init, the
extra option -nois) as in "bin/coqtop -boot -xml -nois -compile Datatypes".

Good luck,

Hugo Herbelin





Archive powered by MhonArc 2.6.16.

Top of Page