caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gabriel Scherer <gabriel.scherer@gmail.com>
To: David MENTRE <dmentre@linux-france.org>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] OCaml editor running tests or other tasks in background?
Date: Wed, 2 Oct 2013 19:06:07 +0200	[thread overview]
Message-ID: <CAPFanBHaMHcQ++60EQ_LMpf=WJwqOrPEeYPRsQHLbpLweBbyjA@mail.gmail.com> (raw)
In-Reply-To: <CAC3Lx=b230YOWgw9KXWToGMCqTgN4WrSzsuC48ZFuwnh8Q9r6g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2986 bytes --]

I think the most advanced project regarding IDE integration nowadays is
Merlin ( https://github.com/def-lkb/merlin ), which gives direct feedback
on syntax and typing errors. It doesn't have any knowledge of unit tests or
coverage checking, but it would probably be the right tool to start with to
integrate such a feature.

Note that there has been a bit of back-and-forth on the instant feedback
feature. Previous iterations were deemed a bit too visually invasive, and
some people don't like to risk being interrupted by their IDE while they
think about their code. I think it's always better to have the feature
available, but there is clearly some tuning to have, and potential for
overdoing it.

The other project that jumps to mind is the Why3 IDE (
http://why3.lri.fr/). It seems they're not hype enough to have video
stuff available, but from
what I remember the GUI does a pretty good job of giving feedback on how
external provers run, and pieces of code that were previously verified and
aren't anymore.


On Wed, Oct 2, 2013 at 6:00 PM, David MENTRE <dmentre@linux-france.org>wrote:

> Hello,
>
> Somebody has recently shown me the NCrunch (http://www.ncrunch.net/)
> plug-in running under Microsoft Visual Studio and I was quite
> impressed by it. This plug-in allows to define and run a test suite on
> a C# program. The very nice thing about NCrunch is that the tests are
> run in the background, without any user intervention (without even the
> need to save files!). A set of coloured icons are displayed next to
> each test to see if the test succeeded or not and some additional
> pop-ups or right-clicks bring additional information. This approach
> brings a very fluent way to develop some code and test it
> simultaneously.
>
> In the same spirit, I have seen the Dafny development environment for
> proved programs
> (https://research.microsoft.com/en-us/projects/dafny/), still on
> Visual Studio, where this time Verification Conditions and proofs of
> the program being edited are generated and run in the background, with
> coloured icons displaying the result. Once again, no need for the user
> to click on icons or do any specific action.
>
> So my question: are there similar OCaml editors available or being
> worked on that would allow running tasks in the background and
> displaying result in the editor without user intervention?
>
> There is apparently a lot of development in the OCaml development
> environment these days so somebody might already work on something
> similar.
>
> By "OCaml editor", I am voluntarily ambiguous: I am interested in both
> editor to program in OCaml and editor programmed in OCaml (or
> interfaced with OCaml) and which could be used for other languages.
>
> Best regards,
> david
>
> --
> Caml-list mailing list.  Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>

[-- Attachment #2: Type: text/html, Size: 4029 bytes --]

  reply	other threads:[~2013-10-02 17:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-02 16:00 David MENTRE
2013-10-02 17:06 ` Gabriel Scherer [this message]
2013-10-02 18:53   ` David MENTRÉ
2013-10-02 18:57     ` Simon Cruanes
2013-10-02 18:56   ` Jeremie Salvucci
2013-10-03  6:06     ` David MENTRE

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPFanBHaMHcQ++60EQ_LMpf=WJwqOrPEeYPRsQHLbpLweBbyjA@mail.gmail.com' \
    --to=gabriel.scherer@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=dmentre@linux-france.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).