caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Thomas Fischbacher <t.fischbacher@soton.ac.uk>
To: Mehdi Dogguy <mehdi.dogguy@pps.jussieu.fr>
Cc: Martin DeMello <martindemello@gmail.com>,
	OCaml List <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] adding a scripting language to an ocaml program
Date: Mon, 5 Jul 2010 17:30:58 +0100	[thread overview]
Message-ID: <4C3208C2.3090803@soton.ac.uk> (raw)
In-Reply-To: <4C3204AF.8050608@pps.jussieu.fr>


Mehdi Dogguy wrote:

>> We (the nmag/nsim dev team - http://nmag.soton.ac.uk) kind-of had the 
>> opposite problem, i.e. we had to extend a scripting language that is 
>> easy to learn with something that has a bit more steam. We decided to 
>> 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.
> 
> uh… did you try to submit patches or report bugs against the package?

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/7a1c5726ab3d6661c233a7245fc6cca8.en.html

> pycaml is known to be dead upstream. We¹ 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… that makes bug fixing not easy :)
> 
>> Here is a fixed version that also supports a few nice extensions:
>>
>> http://nmag.soton.ac.uk/tf/pycaml/
>>
> 
> 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.

-- 
best regards,
Thomas Fischbacher
t.fischbacher@soton.ac.uk


  reply	other threads:[~2010-07-05 16:56 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-03 18:34 Martin DeMello
2010-07-03 18:43 ` Michael Ekstrand
2010-07-03 18:56   ` [Caml-list] " Martin DeMello
2010-07-03 19:06     ` Michael Ekstrand
2010-07-03 19:35     ` [Caml-list] " David Allsopp
2010-07-03 18:52 ` [Caml-list] " Lukasz Stafiniak
2010-07-03 18:53   ` Vincent Aravantinos
2010-07-03 19:05     ` Martin DeMello
2010-07-03 19:02   ` Martin DeMello
     [not found]     ` <AANLkTinIbSSrxtuWrwv16_XIo2MU2hdhjHhrIORSFUPN@mail.gmail.com>
2010-07-03 21:15       ` Martin DeMello
2010-07-03 20:42   ` malc
2010-07-03 19:16 ` David Powers
2010-07-04 19:54 ` Goswin von Brederlow
2010-07-05 12:41   ` Florent Monnier
2010-07-05 13:14 ` Thomas Fischbacher
2010-07-05 16:13   ` Mehdi Dogguy
2010-07-05 16:30     ` Thomas Fischbacher [this message]
2010-07-05 18:02       ` Mehdi Dogguy
2010-07-08 15:22         ` Thomas Fischbacher
2010-07-08 16:00           ` Mehdi Dogguy
2010-07-06 21:01       ` Guillaume Yziquel
2010-07-06 21:08         ` Guillaume Yziquel
2010-07-06 10:38 ` Richard Jones
2010-07-06 12:55   ` Martin DeMello

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C3208C2.3090803@soton.ac.uk \
    --to=t.fischbacher@soton.ac.uk \
    --cc=caml-list@yquem.inria.fr \
    --cc=martindemello@gmail.com \
    --cc=mehdi.dogguy@pps.jussieu.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).