Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
adding a scripting language to an ocaml program
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-07-06 (12:55)
From: Martin DeMello <martindemello@g...>
Subject: Re: [Caml-list] adding a scripting language to an ocaml program
On Tue, Jul 6, 2010 at 4:08 PM, Richard Jones <> wrote:
> You can embed a Perl interpreter and call out to Perl code using
> perl4caml's Perl.eval function.  The API is even "type safe" in as
> much as you can construct and examine the values going between the
> Perl and the OCaml code, and detect errors at runtime (at compile time
> too in some circumstances).
> Your users might not thank you for this ...

Probably not :) My primary concern is that the editor won't be snappy
enough - Yi definitely has that problem, for instance - which is why I
was hoping for a scripting language that people were using and
optimising for speed.