caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gerd Stolpmann <info@gerd-stolpmann.de>
To: Anton Bachin <antonbachin@yahoo.com>
Cc: Alain Frisch <alain.frisch@lexifi.com>,
	Gabriel Scherer <gabriel.scherer@gmail.com>,
	caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] [ANN] Bisect_ppx 1.0.0 – Modernized code coverage for OCaml
Date: Thu, 11 Feb 2016 11:42:06 +0100	[thread overview]
Message-ID: <1455187326.23513.158.camel@e130.lan.sumadev.de> (raw)
In-Reply-To: <2CDC8373-FC89-4520-A4AE-B3E711CCE409@yahoo.com>

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

Am Mittwoch, den 10.02.2016, 19:16 -0600 schrieb Anton Bachin:
> Alain, that is a pretty nice suggestion – thanks! I’ve opened an issue for it:
> 
> https://github.com/rleonid/bisect_ppx/issues/83
> 
> Gerd, are you still working on such projects, as would need these features? We
> would consider adding them, but ideally, to remain grounded in reality, it would
> be for ongoing, routine usage. It's just easier to get feedback that way and
> avoid getting ahead of ourselves.

No, currently I'm not working in this area anymore. It's low priority. I
just wanted to give you some feedback.

Gerd


> Actually, Alain's suggestion may make some such features easier to use.
> 
> 
> Regards,
> Anton
> 
> 
> 
> 
> > On Feb 10, 2016, at 15:49, Alain Frisch <alain.frisch@lexifi.com> wrote:
> > 
> > On 10/02/2016 20:33, Anton Bachin wrote:
> >> Assuming this is what Gerd is indeed looking for, I can confirm that
> >> Bisect_ppx
> >> still supports it. See
> >> 
> >> https://github.com/rleonid/bisect_ppx/blob/master/doc/advanced.md#unreachable-code
> >> 
> >> We preferred to document only BISECT_VISIT (which does the same thing),
> >> in order
> >> to have only option. But both Bisect_ppx and Bisect support BISECT_MARK and
> >> BISECT_VISIT.
> > 
> > 
> > It's great to see the development of Bisect resurrecting!
> > 
> > 
> > Did you consider switching to attributes to mark code that must be excluded from the analysis, instead of special comments?  This seems simpler than having to scan again the source files, and it could be more robust when interacting with other ppx tools.
> > 
> > For instance:
> > 
> > 
> > - Marking a sub-expression, often using the shorthand syntax:
> > 
> >  begin[@bisect.visit]
> >    ...
> >  end
> > 
> > - Marking a complete function:
> > 
> > 
> >  let f x =
> >     ...
> >  [@@bisect.visit]
> > 
> >  or (in OCaml 4.03):
> > 
> >  let[@bisect.visit] f x =
> >     ...
> > 
> > - Marking sections:
> > 
> > 
> >    [@@@bisect.visit.begin]
> >    ...
> >    [@@@bisect.visit.end]
> > 
> > 
> > 
> > Alain
> > 
> > -- 
> > 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
> 
> 

-- 
------------------------------------------------------------
Gerd Stolpmann, Darmstadt, Germany    gerd@gerd-stolpmann.de
My OCaml site:          http://www.camlcity.org
Contact details:        http://www.camlcity.org/contact.html
Company homepage:       http://www.gerd-stolpmann.de
------------------------------------------------------------


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

      reply	other threads:[~2016-02-11 10:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-10 15:33 Anton Bachin
2016-02-10 16:46 ` David MENTRE
2016-02-10 19:27   ` Anton Bachin
2016-02-12  6:44     ` David MENTRÉ
2016-02-12  9:18       ` Anton Bachin
2016-02-10 19:00 ` Gerd Stolpmann
2016-02-10 19:23   ` Gabriel Scherer
2016-02-10 19:33     ` Anton Bachin
2016-02-10 21:48       ` Gerd Stolpmann
2016-02-10 21:49       ` Alain Frisch
2016-02-11  1:16         ` Anton Bachin
2016-02-11 10:42           ` Gerd Stolpmann [this message]

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=1455187326.23513.158.camel@e130.lan.sumadev.de \
    --to=info@gerd-stolpmann.de \
    --cc=alain.frisch@lexifi.com \
    --cc=antonbachin@yahoo.com \
    --cc=caml-list@inria.fr \
    --cc=gabriel.scherer@gmail.com \
    /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).