Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] help w/ coqtop programmatic interaction for Netbeans plugin

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] help w/ coqtop programmatic interaction for Netbeans plugin


Chronological Thread 
  • From: Pierre-Marie Pédrot <pierre-marie.pedrot AT inria.fr>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] help w/ coqtop programmatic interaction for Netbeans plugin
  • Date: Fri, 27 Sep 2013 20:10:45 +0200

On 27/09/2013 19:22, Abhishek Anand wrote:
> In the --ideslave mode, how to I tell coqtop to abort the current
> computation and ignore the last command?
> For example, if I send repeat(simpl). , I wish there was a way to tell
> coqtop to abort and ignore last command ?
> Currently, I can restart coqtop and resend the contents of the
> file(except the last command), but for large files, it would waste a lot
> of time.

CoqIDE does this by sending coqtop a SIGINT signal. Indeed, Coq is
written to handle SIGINTs as interrupting the current computation. There
is a hack to support this under Windows, but that should basically do
the trick.

PMP

Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.18.

Top of Page