English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
How to use C++ library iin OCaml?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-05-02 (13:15)
From: Josh Berdine <berdine@d...>
Subject: RE: [Caml-list] How to use C++ library iin OCaml?
Hi Guan,

If you're interested in the PPL, I'd keep an eye on APRON
(http://apron.cri.ensmp.fr/library/) which is advertised as soon to have a
PPL interface.

Cheers,  Josh

-----Original Message-----
From: caml-list-bounces@yquem.inria.fr
[mailto:caml-list-bounces@yquem.inria.fr] On Behalf Of guanhua he
Sent: Wednesday, May 02, 2007 1:25 PM
To: Richard Jones
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] How to use C++ library iin OCaml?

Hi, Rich,

Thanks for your reply.

I'd like to use the Parma Polyhedra Library 
(http://www.cs.unipr.it/ppl/) to solve the convex-hull and widening 
problems. Does it work in ocaml? Or any other good tools for ocaml?

BTW, does ocaml work with the  
LP_solver(http://lpsolve.sourceforge.net/5.5/) library? Or is there any 
good LP solver for ocaml?


Richard Jones wrote:
> On Wed, May 02, 2007 at 10:40:51AM +0100, guanhua he wrote:
>> Does anyone know can I use C++ library in OCaml and how?
> Read: http://caml.inria.fr/pub/docs/manual-ocaml/manual032.html
> You'll have problems with the C++ name mangling, and it'll be tricky
> if the library uses lots of templates, exceptions or even complicated
> object features, but in principle it should be possible.
> Which library?
> Rich.

Caml-list mailing list. Subscription management:
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs