From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p04IhemV021221 for ; Tue, 4 Jan 2011 19:43:40 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApQAAD/5Ik3RVaG2kWdsb2JhbACDd6A9CBUBAQEBCQsKBxEEIKRMiTuHfoYpgSCDNnQEhGiGH4YS X-IronPort-AV: E=Sophos;i="4.60,273,1291590000"; d="scan'208";a="83909728" Received: from mail-gx0-f182.google.com ([209.85.161.182]) by mail4-smtp-sop.national.inria.fr with ESMTP; 04 Jan 2011 19:43:22 +0100 Received: by gxk8 with SMTP id 8so6230040gxk.27 for ; Tue, 04 Jan 2011 10:43:22 -0800 (PST) Received: by 10.150.134.6 with SMTP id h6mr3585194ybd.123.1294166601750; Tue, 04 Jan 2011 10:43:21 -0800 (PST) MIME-Version: 1.0 Sender: hcarty@mulethief.com Received: by 10.150.133.1 with HTTP; Tue, 4 Jan 2011 10:43:01 -0800 (PST) In-Reply-To: References: From: "Hezekiah M. Carty" Date: Tue, 4 Jan 2011 13:43:01 -0500 X-Google-Sender-Auth: UiCwJziuhrvW5N4lg0nT31JgH64 Message-ID: To: Joel Reymont Cc: caml-list@inria.fr Content-Type: text/plain; charset=UTF-8 Subject: Re: [Caml-list] who wants to use swig? On Tue, Jan 4, 2011 at 12:43 PM, Joel Reymont wrote: > > Is there a large number of people here wanting to use SWIG bindings for OCaml? > > Do you all wrap large-surface APIs manually and are happy doing so? > I would like to use SWIG. That said, for the range of functions it works for, camlidl seems to provide much cleaner bindings to C libraries than SWIG. If SWIG could be used to create similarly clean bindings without requiring a syntax extension or very verbose OCaml code then it would be much more attractive. Hez