coq-club AT inria.fr
Subject: The Coq mailing list
List archive
Re: [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin
Chronological Thread
- From: Valentin Robert <valentin.robert.42 AT gmail.com>
- To: Abhishek Anand <abhishek.anand.iitg AT gmail.com>
- Cc: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin
- Date: Thu, 4 Jul 2013 16:17:48 +0100
Hello,
I cannot provide good answers to your questions, but some people recently wrote a vim plugin for using Coq. Their development is available on github. I suggest looking at this file in particular:
It might give you some insight.
Best luck,
- Valentin
On Thu, Jul 4, 2013 at 4:10 PM, Abhishek Anand <abhishek.anand.iitg AT gmail.com> wrote:
Hi,I'm trying to develop a Coq plugin for my fav. IDE(https://netbeans.org/) as a hobby project.The plugin needs programmatically talk to coqtop.Is there some description of a "protocol" one should follow whileprogrammatically talking to coqtop?So far, I did some reverse engineering and found out:(please correct me if I am wrong)1) Coqtop prints "coq<" on stderr when ready to accept an input. I guess I need to wait until prints "coq < " on stderr before writing to coq's inputstream.2) If coqtop didn't like the previous command, the last line is of the form "error ...".So, while sending the contents of user's editor window to coqtop, I need to stop as soonas I encounter one of these and prompt the user about the error.I need more information so that I can reliably parse coqtop's output, especially proof state and present them to the user in a more intuitive way. I can try to reverse engineering most of these, but would appreciate if some description of a protocol that coqtop follows is available somewhere.Some brief description of how CoqIDE works might also be useful.Thanks,-- Abhishek
- [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin, Abhishek Anand, 07/04/2013
- Re: [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin, Beta Ziliani, 07/04/2013
- Re: [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin, Valentin Robert, 07/04/2013
- Re: [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin, Pierre Boutillier, 07/04/2013
- Re: [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin, t x, 07/04/2013
- Re: [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin, t x, 07/04/2013
- Re: [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin, Benjamin Berman, 07/04/2013
- Re: [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin, Carst Tankink, 07/05/2013
- Re: [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin, Pierre Boutillier, 07/05/2013
- Re: [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin, Pierre Courtieu, 07/08/2013
- Re: [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin, Abhishek Anand, 07/23/2013
- Re: [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin, Abhishek Anand, 07/23/2013
- Re: [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin, Thomas Refis, 07/23/2013
- Re: [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin, Carst Tankink, 07/05/2013
- Re: [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin, Benjamin Berman, 07/04/2013
- Re: [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin, t x, 07/04/2013
- Re: [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin, t x, 07/04/2013
- Re: [Coq-Club] Fwd: help w/ coqtop programmatic interaction for Netbeans plugin, Pierre Boutillier, 07/04/2013
Archive powered by MHonArc 2.6.18.