From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id FAA08372; Fri, 30 Apr 2004 05:04:25 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id FAA07700 for ; Fri, 30 Apr 2004 05:04:23 +0200 (MET DST) Received: from hotmail.com (bay9-f69.bay9.hotmail.com [64.4.47.69]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i3U1DUEV001006 for ; Fri, 30 Apr 2004 03:13:31 +0200 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 29 Apr 2004 18:13:24 -0700 Received: from 192.174.21.220 by by9fd.bay9.hotmail.msn.com with HTTP; Fri, 30 Apr 2004 01:13:24 GMT X-Originating-IP: [192.174.21.220] X-Originating-Email: [max_powers280@hotmail.com] X-Sender: max_powers280@hotmail.com From: "Max Powers" To: caml-list@inria.fr Subject: Re: [Caml-list] Calling Ocaml from Python Date: Fri, 30 Apr 2004 10:43:24 +0930 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 30 Apr 2004 01:13:24.0653 (UTC) FILETIME=[55E4B5D0:01C42E50] X-Miltered: at nez-perce with ID 4091A83A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 python:01 2004:99 yerkes:01 swig:01 python:01 python's:01 referrer:99 ocaml:01 ocaml:01 280:98 click:97 match:02 wrote:03 somewhere:04 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, 29 Apr 2004 16:24, art yerkes wrote: > > > >You can write a C wrapper for an Ocaml function in C, > > >and then wrap THAT using SWIG so you can call it from Python. > >You might try pycaml: http://pycaml.sf.net/ In my original message I mentioned that I'd looked at pycaml, but I (sort of) understand how to call python from Ocaml from the example, but I don't understand how to use Pycaml to call Ocaml from python. Is there an example somewhere of this? (sorry, my ocaml experience is very limited, my python's a bit better!) Cheers, -Max _________________________________________________________________ Find love today with ninemsn personals. Click here: http://ninemsn.match.com?referrer=hotmailtagline ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners