From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=HTML_MESSAGE,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 9290FBC69 for ; Tue, 20 Feb 2007 13:55:36 +0100 (CET) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l1KCtY0F005694 for ; Tue, 20 Feb 2007 13:55:35 +0100 Received: by an-out-0708.google.com with SMTP id d26so351021and for ; Tue, 20 Feb 2007 04:55:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=n5+Uf/2fC/w89K06cNgXyoPly46dv9uX3NKx40E6V3BYw+bZSh2gbwk2jfHXaxsQ76qNUGq6MKRaIpoM7lmBl8otF2FW/jM18iummWst4wB0vkyy/cd1Wjp6GDqUqmvwMoprFvo7E4EAk6qUihq8Cfz+VxZ4mQ5rv/qZCa/2yQ0= Received: by 10.114.72.1 with SMTP id u1mr3318449waa.1171976133620; Tue, 20 Feb 2007 04:55:33 -0800 (PST) Received: by 10.115.55.17 with HTTP; Tue, 20 Feb 2007 04:55:33 -0800 (PST) Message-ID: <6120f6690702200455k3e9f71e8m86a5656e86e5ae7c@mail.gmail.com> Date: Tue, 20 Feb 2007 12:55:33 +0000 From: "=?ISO-8859-1?Q?D=E1rio_Abdulrehman?=" To: Caml-list Subject: Re: [Caml-list] Examples of creating C++ library bindings In-Reply-To: <45DA2C6F.7000801@rftp.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_69356_26320614.1171976133229" References: <3220E2BE-5E8F-4701-9D5E-49C7FD25FC8F@gmail.com> <45DA2C6F.7000801@rftp.com> X-j-chkmail-Score: MSGID : 45DAEFC6.002 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 45DAEFC6.002 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bindings:01 ocaml:01 ocaml:01 bindings:01 humps:01 pcre:01 non-trivial:01 class-based:01 lablgtk:01 beginner's:01 bug:01 pcre:01 non-trivial:01 class-based:01 lablgtk:01 ------=_Part_69356_26320614.1171976133229 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline More info here on the OCaml/C interface: http://www.soton.ac.uk/~fangohr/nsim/tutorial/ocaml/lecture5.html On 2/19/07, Robert Roessler wrote: > > 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 > > _______________________________________________ > 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 > --=20 D=E1rio Abdulrehman ------=_Part_69356_26320614.1171976133229 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline More info here on the OCaml/C interface: http://www.soton.ac.uk/~fangohr= /nsim/tutorial/ocaml/lecture5.html

On 2/19/07, Robert Roessler <roessler@rftp.com> wrote: 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" bl= ocks with finalization).

As it happens, the package was originally c= lass-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 comp= onent
("LablScintilla 0.9pre1"), but it *is* quite a bit large= r, *and*
interfaces with LablGTK (representing a much more interesting can ofworms).. so it would be better to digest LablPCRE first.

Robert Roe= ssler
roessler@rftp.com
http://www.rftp.com

____________________________________________= ___
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: <= a href=3D"http://caml.inria.fr/bin/caml-bugs"> http://caml.inria.fr/bin/caml-bugs



--
D=E1rio Abdulrehman ------=_Part_69356_26320614.1171976133229--