Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] loadpath

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] loadpath


Chronological Thread 
  • From: Ramkumar Ramachandra <artagnon AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] loadpath
  • Date: Wed, 5 Feb 2020 08:34:33 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=artagnon AT gmail.com; spf=Pass smtp.mailfrom=artagnon AT gmail.com; spf=None smtp.helo=postmaster AT mail-ua1-f49.google.com
  • Ironport-phdr: 9a23:E5SEZR2Vu/Q3rKkPsmDT+DRfVm0co7zxezQtwd8Zse0eI/ad9pjvdHbS+e9qxAeQG9mCt7QZ06GP6vmoGTRZp8rY6zZaKN0EfiRGoP1epxYnDs+BBB+zB9/RRAt+Iv5/UkR49WqwK0lfFZW2TVTTpnqv8WxaQU2nZkJ6KevvB4Hdkdm82fys9J3PeQVIgye2ba9vIBmsogjdq8YbjZFiJ6otxRfFv2ZEd/lLzm9sOV6fggzw68it8JNt6Shcp+4t+8tdWqjmYqo0SqBVAi47OG4v/s3rshfDTQqL5nQCV2gdjwRFDQvY4hzkR5n9qiT1uPZz1ymcJs32UKs7WS++4KdxSR/nkzkIOjgk+2zKkMNwjaZboBW8pxxjxoPffY+YOOZicq7bYNgXQ3dKUMRMWCxbGo6zYIUPAOgBM+hWrIfzukUAogelCAa2GO/i0CVFimPq0aA41ekqDAHI3BYnH9ILqHnasM/6NKIRUeCoyanH1y/DZO5K1zjn7YjHaAwuofGWUrJ2bMXR01MgHB7Cg1qKs4zlIyma1usLs2ic6eptTu2vi2s9pAFwpjij3Nsjio7Mho8MzF3P6Ct3wIEwJdKiSU57Z8apEJpWtyGANot5WNkuQ29yuCs817YIuoa7cTAUxJg7wxPTcf+KfoiS7h79SuqdPy10iX1hdb+5mh2861KvyvfmWcmxyFtKrjRKkt3Ltn0V0hzc8MmHSv9k8ke8wzmDyhnf6u9LLE0wj6bbJJkhwrk/lpoXr0vPBDP5mELzjKOOd0Uk/Pan6/j/b7n4upORM5V4hwL+P6g0hMCzH/o0PhIBUmWf4ei80afs/Uz9QLVElP02lazZvYjAKsQBuq62GQBV0oAk6xa5FDqm39EYkmMGLFJBYh6Ik4/pO1TWLPDiEfi/m0iskCtsx/3eIrLhBYzNImHfn7flYLZy8FVRyBEzzNBa/5JbEKsNIPP1Wk/rtdzXFAU1MwKuw7WvNNIo3YQHHGmLH6WxMaXIsFbO6Ph8DfOLYdovsTP+Nv0s/bbUhHowkl8Ue6Wz1NNDYWqkF/tgJEOxbn/lg9NHGmAP6FltBNf2gUGPBGYAL025WLgxs2liVdCWSLzbT4Xou4SvmSe2GpoMOzJDA1GIVGrhLsCKB6ZKZyWVLcts1DcDUOr5Et5z5VSVrAb/joFfAK/R8ywcu4jk0YEsteLWnBA2szdzCpbEij3ffyRPhmoNAgQO8uVnu0UkkwWM1KF5h7pTEtkBv/4=

Try `coq_makefile -f _CoqProject -o Makefile`.

R.

On Wed, Feb 5, 2020 at 8:33 AM Jeremy Dawson <Jeremy.Dawson AT anu.edu.au> wrote:
Thanks - but coq_makefile doesn't generate a Makefile - it does generate
a file called CoqMakefile.conf

Is coq_makefile documented?  It's not in the index (ie
https://coq.inria.fr/distrib/current/refman/genindex.html

Is this where I should be looking for documentation?  )

And the man page is hardly helpful

Thanks

Jeremy

On 5/2/20 6:14 pm, Ramkumar Ramachandra wrote:
> Hi Jeremy,
>
> You need to set up an `_CoqProject` like this:
>
> ```
> -Q category Cat
>
> category/cat.v
> category/ncat.v
> ```
>
> ... and run `coq_makefile` to generate a Makefile. Note that if you can
> `make` the project, then Coq should work from Emacs just fine.
>
> In the example I've supplied, "category" is the subdirectory you want to
> include, and you'd use `From Cat Require Import ...` to include a file
> in it.
>
> R.
>
> On Wed, Feb 5, 2020 at 8:09 AM Jeremy Dawson <Jeremy.Dawson AT anu.edu.au
> <mailto:Jeremy.Dawson AT anu.edu.au>> wrote:
>
>     Hi,
>
>     The documentation at
>     https://coq.inria.fr/distrib/current/refman/proof-engine/vernacular-commands.html#coq:cmd.load
>     says
>
>           This command loads the file named ident.v, searching successively
>     in each of the directories specified in the loadpath. (see Section
>     Libraries and filesystem)
>     but when I go to that section it doesn't tell you how to set a
>     "loadpath" or how to view what it is (or even what it is, so I've
>     got to
>     guess it's as in other languages that I'm familiar with - and that
>     somehow doesn't seem to fit the case)
>
>     So how do I load a file (eg, ttt/TTT/sss.v)
>
>     Thanks
>
>     Jeremy
>



Archive powered by MHonArc 2.6.18.

Top of Page