From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id BAA13717; Sun, 12 Sep 2004 01:33:47 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id BAA14813 for ; Sun, 12 Sep 2004 01:33:45 +0200 (MET DST) Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id i8BNXj1A021245 for ; Sun, 12 Sep 2004 01:33:45 +0200 Received: from [80.4.70.84] by mta03-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20040911233212.PTRM20874.mta03-svc.ntlworld.com@[80.4.70.84]>; Sun, 12 Sep 2004 00:32:12 +0100 Message-ID: <41438B58.70809@ntlworld.com> Date: Sun, 12 Sep 2004 00:33:44 +0100 From: "chris.danx" User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: snh1@cec.wustl.edu CC: caml-list@inria.fr Subject: Re: [Caml-list] Ocaml-Lua interface References: <3069.128.252.41.44.1094927863.squirrel@clarion.cec.wustl.edu> In-Reply-To: <3069.128.252.41.44.1094927863.squirrel@clarion.cec.wustl.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 41438B59.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; ntlworld:99 caml-list:01 snh:99 cec:99 ocaml's:01 ffi:01 mingw:01 cygwin:01 cec:99 snh:99 0.1.:01 ffi:01 chris:01 chris:01 bindings:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk snh1@cec.wustl.edu wrote: > Well, I wanted to use Lua from Ocaml, so I wrote an interface to do so. > It's somewhat incomplete and probably slightly buggy at the moment, and > the error-handling isn't great, but it works. Comments and advice are > welcome; this is my first attempt to do anything big/serious with Ocaml's > FFI. I've only tried this on Linux, but it should work fine under MinGW > or Cygwin. > > You can get it at: http://cec.wustl.edu/~snh1/olua-0.1.tar.gz Cool. I will look at this in more detail soon. I had a look through the test files and readme. Looks good! Bindings are a pita, I did a Lua binding to Ada 95. Even though the C FFI in Ada is much nicer, it's still a task to get it done. Was putting off the Lua binding to OCaml due to that experience! Kudos to you! Would you consider releasing it under the same conditions as Lua 5.x? It's no big deal, just wondered. Chris ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners