Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Issues with paths in CoqIDE 8.6.1

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Issues with paths in CoqIDE 8.6.1


Chronological Thread 
  • From: Michael Greenberg <michael.greenberg AT pomona.edu>
  • To: <coq-club AT inria.fr>
  • Subject: [Coq-Club] Issues with paths in CoqIDE 8.6.1
  • Date: Wed, 7 Feb 2018 10:00:59 -0800
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=michael.greenberg AT pomona.edu; spf=Pass smtp.mailfrom=Michael.Greenberg AT pomona.edu; spf=None smtp.helo=postmaster AT esa2.pomona.iphmx.com
  • Ironport-phdr: 9a23:O8mYzRanpOA+UFH2piahw5L/LSx+4OfEezUN459isYplN5qZr8q7bnLW6fgltlLVR4KTs6sC17KP9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCagbb9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjul86pmRh3lhSkeOzIl/2zcl8h8gaJHrB6koRF03ozab5yPNPdmYK3Tfc4US2lPUMlfWCNOHoyyb4oUAuodP+tVtZXxq0cAoBa8AwSnGePhyiVPhn/zxaA01OUhHh3G3AM6Ad0OtGnfotTvNKgMT++1yrLHwivZb/NZxDzw743IchE9rvGMR71/b87RxVMgFwPfkFqft4rlMCiL2eQXvGiW9PJgVeWqi24grQF+uCKjydkxhYnUn48YzE3P+yt+wIYwP9K4SUh7bMa/EJtMrS6VK4h2QsQ8Q252oiY6xLkGuZm1fSQQ1JsnwBvfZvqaeIaL+hLuTOecLDRiiH57dr+zmQy+/VWvx+DyTMW4zkhGoytdntXRuH0A2Abf5tWFR/Zz5Eus2jaC2xrO5uxGJU05k7fQJYQ7zb4qjJUTtFzOHi/ol0Xyi6+bblsr+vOy5Oj5eLnmvpicN4pzigH4KKsigM2/Afw4MggLUGmX4/iz1Lrm/UHhQbVKiOM5krXBvZ3bJskXvLC1DgFL3oo59hqyADmr3M4GkXUZLV9JYBeHgJLoO1HKLvD4F/C/g1G0nTlsxvDJIr3hDY/TIXjHirvvfKx95FBCxwo11t9Q+YhUCr4aLfLrXU/xsdvYDhkjPACu3enoFch92psEWW2TGq+ZLL/SsViQ6+0zJOmMfZYZtyr5K/g4/PHjlmQ5mF8Yfamxx5QbcnG4HvJ8I0WYe3XgmNkBEX1Z9jY5Gbjhj0THWjpObV6zWbg973c1EtT1I53EQ9WIgbeB1Sq/VrJMa21AAF2WHj+8coSPW/4BbGSdOMJslDYJT7eJU4gk0hen8gL21uw0faLv5iQEuMe7h5BO7OrJmERvrWUlXfTY6HmESiRPpk1NQjY32K5lpkkkkAWb1q1/hfUeGNBOtaoQDlUKcKXExuk/MOjcHxrbd47TGk6hR9KgCHc8Qs9jm4ZTMXY4IM2ri1X45wTvA7IRkObQVpEv+/iax3/0IMB0jXfe1KwxyVIhR5kXOA==

Hi all,

I'm teaching an abbreviated form of Software Foundations' first volume as part of a discrete math course.

Many students are having significant issues with compilation; in particular, it's quite complicated to configure the loadpath in CoqIDE 8.6.1. Students trying to "Compile > Compile buffer" succeed for the initial file, Basics.v, but later dependencies don't show up. Mysteriously, running the code in CoqIDE works fine---that is, the interactive coqtop session can find imports perfectly, but the call to coqc can't. It's critical that students be able to compile their code to ensure that it will run with our autograder.

I found <https://stackoverflow.com/questions/16202666/coqide-cant-load-modules-from-same-folder> as a potential solution, but having students put Add LoadPath directives in submitted code is a non-starter. I haven't found an incantation for _CoqProject that will make it work.

I've shown some students how to access coqc directly themselves, but this is an unsatisfactory solution---for many students, this is their second course in computer science!

The best solution I've found so far has been to set the external for coqc to have a -I flag to the appropriate directory. It's nice because it doesn't change the .v files, but some students don't yet know their way around a filesystem. If there were a way to offer *visual* navigation to the directory, we'd be in better shape. Is there a reason CoqIDE doesn't have a GUI-configurable loadpath option?

Am I missing some other obvious solution that is even better, i.e., requires the students to know even less about their filesystem?

Cheers,
Michael




Archive powered by MHonArc 2.6.18.

Top of Page