From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id F35467EEAF for ; Mon, 28 Jan 2013 00:58:05 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of martindemello@gmail.com) identity=pra; client-ip=209.85.220.176; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="martindemello@gmail.com"; x-sender="martindemello@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of martindemello@gmail.com designates 209.85.220.176 as permitted sender) identity=mailfrom; client-ip=209.85.220.176; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="martindemello@gmail.com"; x-sender="martindemello@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-vc0-f176.google.com) identity=helo; client-ip=209.85.220.176; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="martindemello@gmail.com"; x-sender="postmaster@mail-vc0-f176.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AukCAJe+BVHRVdywm2dsb2JhbABFvVsEA3cIFg4BAQEBAQgJCwkUJ4JlARseAxIQXQERAQUBIogRAQMPnimCcIwzgnuDagoZJw1ZiHYBBQyRFAOIYY0sjmcWKYQ6 X-IPAS-Result: AukCAJe+BVHRVdywm2dsb2JhbABFvVsEA3cIFg4BAQEBAQgJCwkUJ4JlARseAxIQXQERAQUBIogRAQMPnimCcIwzgnuDagoZJw1ZiHYBBQyRFAOIYY0sjmcWKYQ6 X-IronPort-AV: E=Sophos;i="4.84,547,1355094000"; d="scan'208";a="202059" Received: from mail-vc0-f176.google.com ([209.85.220.176]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 28 Jan 2013 00:59:23 +0100 Received: by mail-vc0-f176.google.com with SMTP id fy27so1504333vcb.35 for ; Sun, 27 Jan 2013 15:57:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=8fd4yY9QB+36EgxN7/plRq14BazZtsGQ74sdB5dEVJM=; b=qRVORHbtrvDX6fB4Eb+7+D7F5smfE7NjWW/8eSNBs8me7MlMpt5xdQ32M5c8bZyE+Q JmsiGUy5ZRF1CroQTKcskgSUxr3hdBltTNQiZTu80MwslWY/uCuQ13RGQOkUY5bDTaHT Q0ACT+bZpK9SCH4de/Bx/jk72B1hX7ihtHLjDA/k4oE/SW7R+ZsZkY5vvkIUsKowG9Yy JLmkJUbXJxOV5xA0tYM7CcxsvuDmv7Am7bQS/xGHdFPLwwYPQuAVBm5J7Qx14bzregD9 UEO9zrcE8bnb2nvwHTlYwNb0dvC5apeAvfbqGR4u+cqi3mZQ5Thfy6WZaJ/AeZRQRuEw kGPg== MIME-Version: 1.0 X-Received: by 10.220.150.11 with SMTP id w11mr6265686vcv.63.1359331061568; Sun, 27 Jan 2013 15:57:41 -0800 (PST) Received: by 10.220.141.209 with HTTP; Sun, 27 Jan 2013 15:57:41 -0800 (PST) Date: Sun, 27 Jan 2013 15:57:41 -0800 Message-ID: From: Martin DeMello To: "caml-list@inria.fr" Content-Type: text/plain; charset=ISO-8859-1 Subject: [Caml-list] If I wanted to write SWIG in OCaml, what library would I need? No, I'm not planning on rewriting all of SWIG, but that was the easiest way to explain what I wanted :) I'm looking for a library that can work with C header files, including preprocessor directives, and spit out a data structure that I can use to generate language bindings. C++ support not necessary. martin