Version française
Home     About     Download     Resources     Contact us    
Browse thread
Examples of creating C++ library bindings
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Robert Roessler <roessler@r...>
Subject: Re: [Caml-list] Examples of creating C++ library bindings
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