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 707D1BC57 for ; Wed, 7 Jul 2010 18:30:17 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvQBACpINEzRVaC2mGdsb2JhbACgCggVAQEBAQEICQwHESKwQIIMhXguiFMBAQMFhR8Eg3aERw X-IronPort-AV: E=Sophos;i="4.53,554,1272837600"; d="scan'208";a="62894720" Received: from mail-gy0-f182.google.com ([209.85.160.182]) by mail1-smtp-roc.national.inria.fr with ESMTP; 07 Jul 2010 18:30:17 +0200 Received: by gyd8 with SMTP id 8so3454490gyd.27 for ; Wed, 07 Jul 2010 09:30:16 -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; bh=LuJaJRWi1IhnP9PTTHwJcrsT7t3igMHh1e8XN5R8TBg=; b=tuhB1plH1H1cl/Guua7Mmq4hgSVHV/Y+N3SdUOv0tK/oK8GFLklWHibdRPcr6ceef3 Mr3AJzjtps/RL0ZFP+/ak/SL4od1aL3+XHC0XPu5L5XKtY426/VqINS9HE2CH3iMFf3q 9csygJ7hTUUq24J1j2M9Sa1BWq/vNJGcwDVCo= 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; b=UbKaE1kKvoUrpK+nZ5mcSEFBGZZuPglAGTKXG4taBhHOQZVuVsrl1kGjap+1w4rsfS IGwReGgKJbuKYqGFaYRTs41PhUl89bQeLFFBNxUxFkKJljAJVElM/fQFPHnTDBwPpBP8 5/a1P39i/jqMAM/9b7eL3lz8D8I9RqM+239NU= MIME-Version: 1.0 Received: by 10.229.219.143 with SMTP id hu15mr4068171qcb.129.1278520216262; Wed, 07 Jul 2010 09:30:16 -0700 (PDT) Received: by 10.229.234.7 with HTTP; Wed, 7 Jul 2010 09:30:16 -0700 (PDT) In-Reply-To: References: <4C339FE3.6000402@citycable.ch> Date: Wed, 7 Jul 2010 22:00:16 +0530 Message-ID: Subject: Re: [Caml-list] Re: Binding the Lua library [was: adding a scripting language to an ocaml program] From: Martin DeMello To: Sylvain Le Gall Cc: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 X-Spam: no; 0.00; ocaml:01 le-gall:01 guillaume:01 ocaml:01 bindings:01 hobby:98 wrote:01 invert:01 caml-list:01 functions:01 strings:01 data:02 binding:02 binding:02 string:02 On Wed, Jul 7, 2010 at 7:20 PM, Sylvain Le Gall wrote: > > I think Guillaume is refering to me. I am indeed quite interested in > this kind of binding, especially to measure the performance of the Lua > language interacting with OCaml. I would use Lua to create functions > to process huge amount of data and to replace a DSL I created. I'm very interested too, mainly because a hobby DSL of mine is stalled for lack of a good way to take a user specified function f : String -> String and map it over an OCaml list of strings. Depending on how the bindings look, I might invert control altogether and write it as a lua dsl tied to an OCaml engine. martin