From: Martin DeMello <martindemello@gmail.com>
To: Wojciech Meyer <wojciech.meyer@gmail.com>
Cc: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: Re: [Caml-list] If I wanted to write SWIG in OCaml, what library would I need?
Date: Sun, 27 Jan 2013 17:56:23 -0800 [thread overview]
Message-ID: <CAFrFfuF9QqAykix0YFBgTFspVAp0MoMsjJoCuHs9udLW5Ln=Xg@mail.gmail.com> (raw)
In-Reply-To: <wfboca9mwu.fsf@gmail.com>
On Sun, Jan 27, 2013 at 4:22 PM, Wojciech Meyer
<wojciech.meyer@gmail.com> wrote:
> Martin DeMello <martindemello@gmail.com> writes:
>
>> No, I'm not planning on rewriting all of SWIG, but that was the
>> easiest way to explain what I wanted :) I'm looking for a library that
>> can work with C header files, including preprocessor directives, and
>> spit out a data structure that I can use to generate language
>> bindings. C++ support not necessary.
>
> You could just try caml-idl:
>
> http://caml.inria.fr/pub/old_caml_site/camlidl/
I don't want to write OCaml bindings, I want to see if OCaml provides
a nicer way to write a binding generator than libclang does (I'm
betting the answer is yes). I took a look at cowboy, but it's pretty
undocumented, and depends on yacfe which is likewise undocumented :(
martin
next prev parent reply other threads:[~2013-01-28 1:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-27 23:57 Martin DeMello
2013-01-28 0:15 ` yoann padioleau
2013-01-28 0:22 ` Wojciech Meyer
2013-01-28 1:56 ` Martin DeMello [this message]
2013-01-28 8:49 ` 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='CAFrFfuF9QqAykix0YFBgTFspVAp0MoMsjJoCuHs9udLW5Ln=Xg@mail.gmail.com' \
--to=martindemello@gmail.com \
--cc=caml-list@inria.fr \
--cc=wojciech.meyer@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