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.0 required=5.0 tests=AWL,SPF_FAIL 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 88D9ABC0A for ; Mon, 19 Feb 2007 19:41:40 +0100 (CET) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by discorde.inria.fr (8.13.6/8.13.6) with SMTP id l1JIfeJV020334 for ; Mon, 19 Feb 2007 19:41:40 +0100 Received: (qmail invoked by alias); 19 Feb 2007 18:41:40 -0000 X-Provags-ID: V01U2FsdGVkX1+7JTYBk9m7+ROSMjWEIdwjAl4S1em+kim/qKrPuS bJgA== Message-ID: <45D9F07D.9000204@fantasymail.de> Date: Mon, 19 Feb 2007 19:46:21 +0100 From: micha User-Agent: Icedove 1.5.0.9 (X11/20061220) MIME-Version: 1.0 To: caml-list@inria.fr Subject: Re: RE : [Caml-list] Examples of creating C++ library bindings References: <000101c75431$e7948730$c09ec781@mathiasens> <525CC2C9-90A4-4FF8-95B1-70EBE0F68D41@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Miltered: at discorde with ID 45D9EF64.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bindings:01 swig:01 ocaml:01 swig:01 ocaml:01 parser:01 interessting:01 wrote:01 compile:01 caml-list:01 binding:02 library:03 examples:07 generates:07 michael:07 Nathaniel Gray wrote: > > Unless you're willing to do some work on the SWIG OCaml generator you > should avoid it. The code it generates doesn't compile. Having said > that, if you *do* want to work on the SWIG OCaml generator it would be > a great service to the community! > I also thought about just taking the swig c++ parser and generating some similar binding as I now do by hand - would be interessting. Michael