caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Sebastien Mondet <sebastien.mondet@gmail.com>
To: Ivan Gotovchits <ivg@ieee.org>
Cc: "François Bobot" <francois.bobot@cea.fr>,
	"Gabriel Scherer" <gabriel.scherer@gmail.com>,
	"OCaml Mailing List" <caml-list@inria.fr>
Subject: Re: [Caml-list] Dependencies between plugins
Date: Tue, 3 Mar 2015 09:42:49 -0500	[thread overview]
Message-ID: <CALScVYkYE6=C4io1A5X4j-c8OUfQLAY2aN1yzc+uq3qmg4o0+A@mail.gmail.com> (raw)
In-Reply-To: <CALdWJ+x+3b9W30R9LPQLD75mQriGsE4Be4KiQ5cN3aZUa1BfhQ@mail.gmail.com>

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

We have also some code doing that there:
https://github.com/hammerlab/ketrew/blob/master/src/lib/pure/ketrew_plugin.ml#L52
One of the tricks used is that, at configure time, the list of findlib
packages already linked is given to the library itself to avoid double
loading.



On Tue, Mar 3, 2015 at 9:32 AM, Ivan Gotovchits <ivg@ieee.org> wrote:

> But beware that Stog code is distributed under the terms of GPL v3.
>
> You may be also interested in JaneStreets ocaml-plugin library.
>
> On Tue, Mar 3, 2015 at 9:23 AM, François Bobot <francois.bobot@cea.fr>
> wrote:
>
>> On 03/03/2015 14:40, Gabriel Scherer wrote:
>>
>>> Maxence Guesdon's static blog/website generator Stog (
>>> https://zoggy.github.io/stog/index.html )
>>> supports dynamic plugins, and its loading code is available at
>>>
>>> https://github.com/zoggy/stog/blob/e83c363c83465a7bfd1595816b3d9b
>>> c8331af560/stog_dyn.ml#L119-L146
>>>
>>> It also uses ocamlfind, but through the command-line rather than the
>>> Findlib library.
>>>
>>
>> Thank you for the pointer. His code is even able to create cmxs from cmxa
>> if needed!
>>
>>
>> --
>> François
>>
>>
>> --
>> 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: 2788 bytes --]

  reply	other threads:[~2015-03-03 14:43 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-03 13:15 François Bobot
2015-03-03 13:40 ` Gabriel Scherer
2015-03-03 14:23   ` François Bobot
2015-03-03 14:31     ` Maxence Guesdon
2015-03-03 14:32     ` Ivan Gotovchits
2015-03-03 14:42       ` Sebastien Mondet [this message]
2015-03-03 15:02         ` François Bobot
2015-03-03 15:24           ` Sebastien Mondet
2015-03-03 14:51       ` François Bobot
2015-03-03 14:55 ` Gerd Stolpmann
2015-03-04  9:58   ` François Bobot
2015-04-13 19:27     ` Ivan Gotovchits
2015-04-13 19:29       ` Gerd Stolpmann
2015-04-14  8:59         ` François Bobot
2015-04-14  9:47           ` Stéphane Glondu
2015-04-14 12:45             ` François Bobot
2015-04-27  9:51               ` Gerd Stolpmann
2015-04-27 10:16                 ` Gabriel Scherer
2015-04-27 12:16                   ` François Bobot
2015-04-27 12:32                     ` Daniel Bünzli
2015-04-29 12:00                   ` Gerd Stolpmann
2015-04-27 11:55                 ` François Bobot
     [not found]   ` <1735_1425463114_54F6D748_1735_16789_8_54F6D731.3090004@cea.fr>
2015-03-06 11:45     ` François Bobot
2015-04-14 12:21 ` Gabriel Kerneis

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='CALScVYkYE6=C4io1A5X4j-c8OUfQLAY2aN1yzc+uq3qmg4o0+A@mail.gmail.com' \
    --to=sebastien.mondet@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=francois.bobot@cea.fr \
    --cc=gabriel.scherer@gmail.com \
    --cc=ivg@ieee.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).