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.1 required=5.0 tests=AWL,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 A38BEBC0A for ; Mon, 19 Feb 2007 20:43:08 +0100 (CET) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.228]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l1JJh6DO007196 for ; Mon, 19 Feb 2007 20:43:07 +0100 Received: by nz-out-0506.google.com with SMTP id l8so1848015nzf for ; Mon, 19 Feb 2007 11:43:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aMxTswIxssqB9QU+oFquojue5metdVWBIAWRoglaOYMytpA6uDLdK1jrxmPdhCUM1EaCMPg41vX9n0dXHnsEl2ZVdMmSWfkMnw+9IgSunfogJc1XCWemsrSuDuOP1To8nnc8WUdCFj2zo8v0otj663T77CbyaJBxwfHNIgN59do= Received: by 10.65.204.7 with SMTP id g7mr1970095qbq.1171914183664; Mon, 19 Feb 2007 11:43:03 -0800 (PST) Received: by 10.65.211.17 with HTTP; Mon, 19 Feb 2007 11:43:03 -0800 (PST) Message-ID: Date: Mon, 19 Feb 2007 11:43:03 -0800 From: "Nathaniel Gray" To: micha Subject: Re: RE : [Caml-list] Examples of creating C++ library bindings Cc: caml-list@inria.fr In-Reply-To: <45D9F07D.9000204@fantasymail.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <000101c75431$e7948730$c09ec781@mathiasens> <525CC2C9-90A4-4FF8-95B1-70EBE0F68D41@gmail.com> <45D9F07D.9000204@fantasymail.de> X-j-chkmail-Score: MSGID : 45D9FDCA.002 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 45D9FDCA.002 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 parser:01 cheers:01 wrote:01 wrote:01 compile:01 caml-list:01 binding:02 btw:02 On 2/19/07, micha wrote: > 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. BTW, I have a vague recollection of somebody posting an announcement of a C++ parser for ocaml recently. Cheers, -n8 -- >>>-- Nathaniel Gray -- Caltech Computer Science ------> >>>-- Mojave Project -- http://mojave.cs.caltech.edu -->