From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 248B9BC57 for ; Tue, 6 Jul 2010 14:55:20 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvQBAEbEMkzRVdi0kGdsb2JhbACffggVAQEBAQkJDAcRAx+vFoIMhTUuiFMBAQMFhSAEg3aERA X-IronPort-AV: E=Sophos;i="4.53,546,1272837600"; d="scan'208";a="62813866" Received: from mail-qy0-f180.google.com ([209.85.216.180]) by mail1-smtp-roc.national.inria.fr with ESMTP; 06 Jul 2010 14:55:19 +0200 Received: by qyk34 with SMTP id 34so2059198qyk.18 for ; Tue, 06 Jul 2010 05:55:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=PPlI6jffWWg1oWG7axWhaVlS2p4fvx2Gxwq3Y5c8CeA=; b=xZDdk/NOo52biNqTLsI/kLzFKWEMO4fKCP8yBNL8DNTWe2V+X1opkUzhb3b3TJnalS YO/GhlYKG4PHclxb+jyRPee91SZqmNE7HKGMGhsocEfG7aHQC6cZT+vk+GVIGVuV7V+N /oW3UNcwcJErociXUXKbhFv15AoLu7HUD3q4o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=EMja0PbbuNkak6ohT5yM4iaACM2vwkkNQWpIxPIcWrBW3hSj1AEh26MqiE2V83gbi9 bt3cBjz/3k0rP1zbr4AOuhRyi8sdzIDqz1bhIzuM6VYSX84OyD178VobQAje5vpxab/v bdl/4rktJjpwH4Zl31XjHL75IOzYHXrH5S+yQ= MIME-Version: 1.0 Received: by 10.224.116.20 with SMTP id k20mr2428247qaq.308.1278420918575; Tue, 06 Jul 2010 05:55:18 -0700 (PDT) Received: by 10.229.234.7 with HTTP; Tue, 6 Jul 2010 05:55:18 -0700 (PDT) In-Reply-To: <20100706103852.GA20439@annexia.org> References: <20100706103852.GA20439@annexia.org> Date: Tue, 6 Jul 2010 18:25:18 +0530 Message-ID: Subject: Re: [Caml-list] adding a scripting language to an ocaml program From: Martin DeMello To: Richard Jones Cc: OCaml List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; ocaml:01 caml's:01 ocaml:01 runtime:01 mli:01 optimising:01 git:98 git:98 wrote:01 compile:01 caml-list:01 caml:02 api:02 construct:02 jul:05 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. =A0The 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=3Dperl4caml.git;a=3Dblob;f=3Dperl.mli;h=3D64d79= 04eb633bcc410f796d19e289bca49931bb5;hb=3DHEAD#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