From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 19E64BC57 for ; Mon, 5 Jul 2010 18:56:31 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmABAEOrMUyYToAQfWdsb2JhbACDHZxYFQEBCwsIBxEHHa1okHmBKYMKcgSIOoIs X-IronPort-AV: E=Sophos;i="4.53,541,1272837600"; d="scan'208";a="65867876" Received: from mailgate7.iss.soton.ac.uk ([152.78.128.16]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 05 Jul 2010 18:56:30 +0200 Received: from mailgate7.iss.soton.ac.uk (localhost.localdomain [127.0.0.1]) by mailgate7.iss.soton.ac.uk (8.13.8/8.13.4) with ESMTP id o65Gtj94008325; Mon, 5 Jul 2010 17:55:45 +0100 Received: from UOS-MSG00012-SI.soton.ac.uk (uos-msg00012-si.soton.ac.uk [152.78.119.35]) by mailgate7.iss.soton.ac.uk (mailgate7.iss.soton.ac.uk [152.78.128.16]) envelope-from with ESMTP id m64Hyj12985402953d ret-id none; Mon, 05 Jul 2010 17:55:45 +0100 Received: from [152.78.97.220] (152.78.97.220) by smtp.soton.ac.uk (152.78.119.35) with Microsoft SMTP Server (TLS) id 8.2.213.0; Mon, 5 Jul 2010 17:30:59 +0100 Message-ID: <4C3208C2.3090803@soton.ac.uk> Date: Mon, 5 Jul 2010 17:30:58 +0100 From: Thomas Fischbacher User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: Mehdi Dogguy Cc: Martin DeMello , OCaml List Subject: Re: [Caml-list] adding a scripting language to an ocaml program References: <4C31DABD.3060107@soton.ac.uk> <4C3204AF.8050608@pps.jussieu.fr> In-Reply-To: <4C3204AF.8050608@pps.jussieu.fr> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-smtpf-Report: sid=m64Hyj129854029500; tid=m64Hyj12985402953d; client=relay,white,ipv6; mail=; rcpt=; nrcpt=3:0; fails=0 X-UOS-MailScanner-Information: Please contact Serviceline@soton.ac.uk for more information X-UOS-MailScanner-ID: o65Gtj94008325 X-UOS-MailScanner: Found to be clean X-UOS-MailScanner-From: t.fischbacher@soton.ac.uk X-Spam: no; 0.00; ocaml:01 ocaml:01 guillaume:01 bug:01 steam:98 wrote:01 maintainers:01 caml-list:01 caml-list:01 awkward:02 caml:02 python:03 python:03 seems:03 patches:03 Mehdi Dogguy wrote: >> We (the nmag/nsim dev team - http://nmag.soton.ac.uk) kind-of had the=20 >> opposite problem, i.e. we had to extend a scripting language that is=20 >> easy to learn with something that has a bit more steam. We decided to=20 >> use Python+OCaml. There's a semi-abandoned debian package, pycaml, that >> does this, but that's broken - it has memory management bugs both oh >> the Python and OCaml side. >=20 > uh=E2=80=A6 did you try to submit patches or report bugs against the pack= age? Yes. We did have some discussion about these things with the debian ocaml maintainers quite a long time ago - but somehow our fixes never were incorporated into the package. Part of the problem is that the original pycaml package is fairly awkward code no one is too proud of. But still, it works (at least our fixed and extended version does), and it actually is quite useful. The last thing I remember is that Guillaume had contacted me about wanting to re-write it, but not much seems to have happened on that front so far. I'd strongly suggest we just stick our heads together and get our code into the debian package so that at least the serious memory corruption problems are fixed. People might not exactly have much fun starting to use it only to experience rude mm-related surprises. I think our pycaml patches were first mentioned here: http://caml.inria.fr/pub/ml-archives/caml-list/2007/11/7a1c5726ab3d6661c233= a7245fc6cca8.en.html > pycaml is known to be dead upstream. We=C2=B9 do our best to keep it in a= good > shape. But, we don't receive bugreports against pycaml and is used > by only one package=E2=80=A6 that makes bug fixing not easy :) >=20 >> Here is a fixed version that also supports a few nice extensions: >> >> http://nmag.soton.ac.uk/tf/pycaml/ >> >=20 > Is this released/linked/advertised somewhere? (other than this mail). > It would be nice to have your fixes packages so that others can benefit > from your work. Replacing the code in the debian package with ours is quite straightforward. --=20 best regards, Thomas Fischbacher t.fischbacher@soton.ac.uk