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/
_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs