caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Robert Roessler <roessler@rftp.com>
To: Caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Examples of creating C++ library bindings
Date: Mon, 19 Feb 2007 15:02:07 -0800	[thread overview]
Message-ID: <45DA2C6F.7000801@rftp.com> (raw)
In-Reply-To: <3220E2BE-5E8F-4701-9D5E-49C7FD25FC8F@gmail.com>

Joel Reymont wrote:
> Are there any examples of creating C++ library bindings?

Well, on the "Caml Humps", you should be able to find something. :)

In particular, I released a *simple* version of an OCaml binding for 
the PCRE pattern-matching library: "LablPCRE 1.0".  While simple, it 
is also non-trivial (it utilizes "custom" blocks with finalization).

As it happens, the package was originally class-based, and then was 
switched to a module orientation after "input" from the list. ;)

I also have a much larger binding for the Scintilla editing component 
("LablScintilla 0.9pre1"), but it *is* quite a bit larger, *and* 
interfaces with LablGTK (representing a much more interesting can of 
worms).. so it would be better to digest LablPCRE first.

Robert Roessler
roessler@rftp.com
http://www.rftp.com


  parent reply	other threads:[~2007-02-19 23:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-19 14:08 Joel Reymont
2007-02-19 14:26 ` RE : [Caml-list] " Mathias Kende
2007-02-19 14:35   ` Joel Reymont
2007-02-19 18:32     ` Nathaniel Gray
2007-02-19 18:46       ` micha
2007-02-19 19:43         ` Nathaniel Gray
2007-02-19 14:43 ` micha
2007-02-19 23:02 ` Robert Roessler [this message]
2007-02-20 12:55   ` Dário Abdulrehman

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=45DA2C6F.7000801@rftp.com \
    --to=roessler@rftp.com \
    --cc=caml-list@inria.fr \
    /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).