coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jason Gross <jasongross9 AT gmail.com>
- To: coq-club <coq-club AT inria.fr>
- Subject: [Coq-Club] Combining multiple coq files into one
- Date: Thu, 9 May 2013 01:58:42 -0400
Hi,
Is there a way to consistently combine multiple coq files into a single coq file, such that the output of coqing that file will be the same as if you had coqed the original one?
If the files are all in the same directory and don't have weird characters, then I can wrap the contents of each file in [Module <filename>. ... End <filename>.], and then shove them all in a single file so that there are no forward references, and remove and [Require]s of that module, and replace [Require Import] with [Import], and [Require Export] with [Export]. However, I have not figured out a good way to do this when files are in subdirectories, and they depend on each other in such a way that I cannot place all of the files in a single subdirectory sequentially with one another (because some depend on files in other subdirectories, which themselves depend on other files in this subdirectory), without errors about multiply named modules.
Can anyone help me figure out how to do this?
Thanks,
Jason
- [Coq-Club] Combining multiple coq files into one, Jason Gross, 05/09/2013
- Re: [Coq-Club] Combining multiple coq files into one, Gabriel Scherer, 05/09/2013
- Re: [Coq-Club] Combining multiple coq files into one, Jason Gross, 05/09/2013
- <Possible follow-up(s)>
- Re: [Coq-Club] Combining multiple coq files into one, Sigurd Schneider, 05/09/2013
- Re: [Coq-Club] Combining multiple coq files into one, Jason Gross, 05/09/2013
- Re: [Coq-Club] Combining multiple coq files into one, AUGER Cédric, 05/09/2013
- Re: [Coq-Club] Combining multiple coq files into one, Jason Gross, 05/09/2013
- Re: [Coq-Club] Combining multiple coq files into one, AUGER Cédric, 05/09/2013
- Re: [Coq-Club] Combining multiple coq files into one, Jason Gross, 05/09/2013
- Re: [Coq-Club] Combining multiple coq files into one, Gabriel Scherer, 05/09/2013
Archive powered by MHonArc 2.6.18.