caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Guillaume Yziquel <guillaume.yziquel@citycable.ch>
To: Erick Matsen <ematsen@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] solicitation for ocamlbuild examples to go in a new repository
Date: Sat, 28 Nov 2009 20:07:15 +0100	[thread overview]
Message-ID: <4B1174E3.6080903@citycable.ch> (raw)
In-Reply-To: <243054520911280948p46d484b8vdd1e5c2187447711@mail.gmail.com>

Erick Matsen a écrit :
> Hello Ocaml-folk--
> 
> As the previous and many other posts on this list demonstrate, there
> is a need for a collection of ocamlbuild examples which can be adapted
> to various setting. I've started such a project (at Sylvain LeGall's
> suggestion) at
> 
> http://forge.ocamlcore.org/projects/obuild-examples/
> 
> I hope that the community will take a bit of time to sumbit examples.

The point is, in my humble opinion, that we do need examples, but we'd 
better try to have a generic plugin that solves most of the use cases. 
And *precise* documentation of ocamlbuild to be able to write such a 
plugin, or other plugins.

For now, the pain/benefit ratio of writing ocamlbuild plugins is clearly 
not worth it. Due to lack of documentation.

> I'd be very happy if others were interested in joining the project,
> but it might be easiest just to email examples directly to me.
> 
> An ideal "package" from my perspective would have
> - a short description of what it does, just a sentence or two.
> - a commented myocamlbuild.ml file
> - the corresponding _tags file

If you receive such examples, it would be useful to make them as generic 
as possible. There's no point, from a tutorial point of view, in having 
'complex' myocamlbuild plugins that you have to wrap your head around in 
order to reuse. I'm thinking about examples on the wiki pages.

> I hope to get examples of all levels, from very basic to advanced.
> However, I think that there is a distinct need for simple examples
> which do one or two interesting things (a flood of 10 page
> myocamlbuild files isn't going to help people get off the ground).

Yes. Exactly.

> Thanks,
> 
> Erick

There's definitely a know how out there. I'm thinking of bluestorm who 
helped me out with the ".inferred.mli" target for the plugin on the wiki.

http://brion.inria.fr/gallium/index.php/Using_ocamlfind_with_ocamlbuild

I gave feedback, and its been since then on the wiki page above.

Maybe I'm mistaken, but this plugin hasn't evolved much since then. I'm 
fairly disappointed that it has not been augmented to fit the needs of C 
stubs in a generic way.

All the best,

-- 
      Guillaume Yziquel
http://yziquel.homelinux.org/


  reply	other threads:[~2009-11-28 19:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-28 17:48 Erick Matsen
2009-11-28 19:07 ` Guillaume Yziquel [this message]
2009-11-29  8:44   ` [Caml-list] " Stefano Zacchiroli

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=4B1174E3.6080903@citycable.ch \
    --to=guillaume.yziquel@citycable.ch \
    --cc=caml-list@inria.fr \
    --cc=ematsen@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).