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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id B7CCC7EF95 for ; Thu, 5 Mar 2015 17:10:01 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of john@coherentgraphics.co.uk) identity=pra; client-ip=195.216.197.8; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="john@coherentgraphics.co.uk"; x-sender="john@coherentgraphics.co.uk"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of john@coherentgraphics.co.uk) identity=mailfrom; client-ip=195.216.197.8; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="john@coherentgraphics.co.uk"; x-sender="john@coherentgraphics.co.uk"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mx1.ukhost4u.com) identity=helo; client-ip=195.216.197.8; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="john@coherentgraphics.co.uk"; x-sender="postmaster@mx1.ukhost4u.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DsAAA0f/hUnAjF2MNag1haBIMGvi6FcAKBNk0BAQEBAQEQAQEBAQEICwkJFC6EEAEFIw8BBUARCwcRAgIFFgsCAgkDAgECAUU0iBgBCL0ZmmMBAQgBAQEBHoEhiXaEdRaCUoFDBZNqhz2FIIx8hBFvgUR/AQEB X-IPAS-Result: A0DsAAA0f/hUnAjF2MNag1haBIMGvi6FcAKBNk0BAQEBAQEQAQEBAQEICwkJFC6EEAEFIw8BBUARCwcRAgIFFgsCAgkDAgECAUU0iBgBCL0ZmmMBAQgBAQEBHoEhiXaEdRaCUoFDBZNqhz2FIIx8hBFvgUR/AQEB X-IronPort-AV: E=Sophos;i="5.11,347,1422918000"; d="scan'208";a="124569232" Received: from mx1.ukhost4u.com ([195.216.197.8]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 05 Mar 2015 17:10:01 +0100 Received: from bluechip4.ukhost4u.com ([188.64.184.40]) by mx1.ukhost4u.com with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85) (envelope-from ) id 1YTYLU-0008FL-9O for caml-list@inria.fr; Thu, 05 Mar 2015 16:10:00 +0000 Received: from [86.6.29.185] (port=50189 helo=[192.168.0.3]) by bluechip4.ukhost4u.com with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.85) (envelope-from ) id 1YTYLU-002SbV-Qx for caml-list@inria.fr; Thu, 05 Mar 2015 16:09:56 +0000 Message-ID: <54F87FD3.7090809@coherentgraphics.co.uk> Date: Thu, 05 Mar 2015 16:09:55 +0000 From: John Whitington User-Agent: Postbox 3.0.11 (Macintosh/20140602) MIME-Version: 1.0 To: caml-list@inria.fr References: <20150305111743.GA2334@pl-59055.rocqadm.inria.fr> In-Reply-To: <20150305111743.GA2334@pl-59055.rocqadm.inria.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-AuthUser: john@coherentgraphics.co.uk X-Filter-ID: s0sct1PQhAABKnZB5plbIf846yA3iTMvdsVmSdrHPMU9CTo+a6AtXGOZ5s/KMzk3GXNQvgP2LFpq 9ASq+UttQYWiY05qpYz3FI5qKIt2NqRhD1MJf4MxMHlmlUsbe8jXgrid67qMB+oMapomL7Mq2FC3 3eUZXtGSV0UvID19VrTprOHkwok8wqVD8mxQECrRhOEZCilBNZv7tZu9RGJbly89FgrNrvTIrZPF Ekdx0P6yMqm1ZDiITS1C6O688uNe31/E3ahF5MMcDI7KdpjQKajCdleLXLKmqgQujz+rQmwMKrzA WDLpDsj98Fuck+e3uacEd6fD8wHDlykNJNSr3EiZKMlJHa0G8m6m500XmssMQOp+UtDOd2Xrp4Ao XsNbVXqU8fN6BwJzIa7biVZTfiyUEa5RvZy7X9HeQJbBihRmM8dmYMoX9zl4nXWYGnFnDzyaShLq siAa0lGSuNVTY1XafMWY7S7FnlhRiKPsrMvIZRCFgXwxSmF6MuDq9w2yzM7SYEwoorJPCJqgOiC7 T4PAgTtUp75uqlx0KezvZHVUY4hGXOBr0gAHXfkOQ1UL3SKbJ0UD2RGGjamZMwKLKFR6hwibba2r d947JIiS6t7exv5eT4lNrSh33Q7aEwX/ata71DGBBdfHWeFzQhoj0vHzowyqR4SYIYFZ+Kbk37Qx L7hrJSk60SF3F6RYOYr2 X-Report-Abuse-To: spam@mx1.ukhost4u.com X-Filter-Fingerprint: IFrWXGses7OKB5S5G8/dJdIz5bb8V0ykx8BnFBnunHBA3cTUQ1R++keuE7RDJ8Kg3RbMLUalw1oC mj99/u+PoqoVy8a3lsStJtAvpObFX0Wok1JBYnOLzfRIhlEHQynLUpndEJ0YoaLytXXo8BMTaX2p Mk7LBarWD9Fj4R3eIu5cOy/3Wm9qfF/CZNvP/2Kowv61T+KDYyYtREgszdyFwv8IxCB3p/oCKvxr eyISh3JGb7OS5oVgiO+kDxZrVPLz3MmEGC2PrUKqLq5WmHK+Nw== X-Originating-IP: 188.64.184.40 X-SpamExperts-Domain: bluechip4.ukhost4u.com X-SpamExperts-Username: 188.64.184.40 Authentication-Results: ukhost4u.com; auth=pass smtp.auth=188.64.184.40 X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.00) X-Recommended-Action: accept Subject: Re: [Caml-list] pycaml Dear Sébastien, Sébastien Hinderer wrote: > More generally speaking, is there interest in bridging OCaml and Python? > Are other solutions (perhaps more maintained) than pycaml arond? Unmaintained, and entirely special-purpose, but this vector graphics renderer, which I wrote a long time ago, links an OCaml binary to a wxpython GUI, sending ocaml-rendered fragments over a pipe, and mouse clicks etc back. It seemed to work fine, but it didn't have a general purpose ocaml-python data bridge. https://github.com/johnwhitington/coherence-renderer Screenshot: http://coherentpdf.com/renderer.png See the camlpy.ml and mltalk.py files. It can be started either by running the OCaml or the Python part... You need camlgpc and camlpdf OPAM packages to build. Thanks, John -- John Whitington Director, Coherent Graphics Ltd http://www.coherentpdf.com/