coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Gaëtan Gilbert <gaetan.gilbert AT skyskimmer.net>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Why does coq_makefile impose -q option?
- Date: Sat, 12 Oct 2019 22:58:43 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=gaetan.gilbert AT skyskimmer.net; spf=Pass smtp.mailfrom=gaetan.gilbert AT skyskimmer.net; spf=None smtp.helo=postmaster AT relay7-d.mail.gandi.net
- Ironport-phdr: 9a23:xOixMRLWHQChpNerANmcpTZWNBhigK39O0sv0rFitYgRI/rxwZ3uMQTl6Ol3ixeRBMOHsqkC1bWd6v29EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCezbL9oLRi7rwrdutQWjIZiN6081gbHrnxUdupM2GhmP0iTnxHy5sex+J5s7SFdsO8/+sBDTKv3Yb02QaRXAzo6PW814tbrtQTYQguU+nQcSGQWnQFWDAXD8Rr3Q43+sir+tup6xSmaIcj7Rq06VDi+86tmTgLjhSEaPDA77W7XkNR9gr9FrhKvpxJxwIDab4+aO/V8YqzTcsgXRXZCU8tLSyBNHo2xYokJAuEcPehYtY79p14WoBW/HwarGP/vxSVOhnDu3KM60uAhHhrY0ww6A9IFrXPZrNrvO6gMTeC61q/IwS/Mb/NX3Tfy85bHcgo9ofyXRrJwcsrQyVIsFwPEi1WQrJLqPymP2uQLrWeb8/NtWOSygGAkswF8uiajytouh4XThI8Z1krI+Th6zYs7P9G0VlJ3bcK8HJdOqi2XOZF6Tt4iTm12oio217wLtYOhcCQUxpkqwxjSYOGdfYeS+BLsTuORLC94hH17fLK/gA6/8VK+xe34TMa10FRHojNYndXWs3ACzR3T6sydRvty5Eih3yuA1wHJ5uFCP080ibLXK58nwrEuipoeqVrPEjL0lUnsjqKaal8o9vWr5unpeLnquIOQO5NshgH7KKsum8i/AeoiMggJWmiW4eu826f98k3lWrpKiOc6kqbYsJDePssUuLS5AxNO34Y46Ba+Dyym0NcZnXkCKVJKZgiHg5LvO17QPPD0Fe2/jEi0kDd32/DGOaXsDYnKLnjaibvuYbJ961NHxwco1tBe55dUCqkbL/7pW0/xssbYDh4jPACuzebnEoY16oRLUmWWR6SdLan6sFmS5+tpLfPfSpUSvWPSIns57vjZon49k1IHYeH90pIadHm+WPtnJ0+Ue2bEmdQQCmQLuw8zVqrshUHUAm0bXGq7Q69pvmJzM4mhF4qWHtn80ozE5z+yG9htXk4DD1mNFXnycIDdBaUXazOJIc5klzEeE76sV914jE38hErB07Nia9Hs1GgAr5u6iopu5PzIlhA38DFuScKQzzPVFjwmriYzXzYzmZtHjwl9x1OEi/UqmfFcHM0Mov8PVw47MdjTxup2Cpb0Vx6TJto=
make COQFLAGS=
Gaëtan Gilbert
On 12/10/2019 22:55, Ian Zimmerman wrote:
I am trying to enhance my minimal knowledge of coq in the following
context:
- classical logic
- ssreflect tactic language
- unicode symbols
This means that every one of my .v files needs the following boilerplate
at the beginning:
From mathcomp Require Import ssreflect ssrfun ssrbool.
Require Import FunctionalExtensionality.
Require Import ClassicalEpsilon.
Require Import PropExtensionality.
Set Implicit Arguments.
Unset Strict Implicit.
Unset Printing Implicit Defensive.
Require Import Utf8.
So far the only way I've thought of to avoid in fact typing all this is
to use the "initfile" or "rcfile". So I added this to my _CoqProject:
-arg -init-file
-arg ,coqinit
where the contents of ,coqinit are as above.
And I see that after running coq_makefile, make VERBOSE=1 does something
like:
matica!41 ssreflect-playground$ make VERBOSE=1
"coqdep" -dyndep var -f _CoqProject > ".coqdeps.d" || ( RV=$?; rm -f
".coqdeps.d"; exit $RV )
make --no-print-directory -f "Makefile" pre-all
if [ "8.9.1" != "8.9.1" ]; then\
echo "W: This Makefile was generated by Coq 8.9.1";\
echo "W: while the current Coq version is 8.9.1";\
fi
make --no-print-directory -f "Makefile" real-all
"coqc" -q -init-file ,coqinit -R . Top Group_abstract.v
File "./Group_abstract.v", line 3, characters 42-45:
Error: Syntax Error: Lexer: Undefined token
So ... -init-file is getting passed correctly, but it has no effect
because it is accompanied by -q. Why does coq_makefile pass -q to coqc,
and how can I change this behavior?
- [Coq-Club] Why does coq_makefile impose -q option?, Ian Zimmerman, 10/12/2019
- Re: [Coq-Club] Why does coq_makefile impose -q option?, Gaëtan Gilbert, 10/12/2019
- Re: [Coq-Club] Why does coq_makefile impose -q option?, Ian Zimmerman, 10/26/2019
- Re: [Coq-Club] Why does coq_makefile impose -q option?, Jason Gross, 10/26/2019
- Re: [Coq-Club] Why does coq_makefile impose -q option?, Ian Zimmerman, 10/26/2019
- Re: [Coq-Club] Why does coq_makefile impose -q option?, Jason Gross, 10/26/2019
- Re: [Coq-Club] Why does coq_makefile impose -q option?, Ian Zimmerman, 10/26/2019
- Re: [Coq-Club] Why does coq_makefile impose -q option?, Jason Gross, 10/26/2019
- Re: [Coq-Club] Why does coq_makefile impose -q option?, Ian Zimmerman, 10/26/2019
- Re: [Coq-Club] Why does coq_makefile impose -q option?, Jason Gross, 10/26/2019
- Re: [Coq-Club] Why does coq_makefile impose -q option?, Ian Zimmerman, 10/26/2019
- Re: [Coq-Club] Why does coq_makefile impose -q option?, Jason Gross, 10/26/2019
- Re: [Coq-Club] Why does coq_makefile impose -q option?, Ian Zimmerman, 10/26/2019
- Re: [Coq-Club] Why does coq_makefile impose -q option?, Gaëtan Gilbert, 10/12/2019
Archive powered by MHonArc 2.6.18.