Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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 <rich@annexia.org> 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).
>
> http://git.annexia.org/?p=perl4caml.git;a=blob;f=perl.mli;h=64d7904eb633bcc410f796d19e289bca49931bb5;hb=HEAD#l258
>
> 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.

martin