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 UAA05986; Sat, 11 Sep 2004 20:37:48 +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 UAA06290 for ; Sat, 11 Sep 2004 20:37:47 +0200 (MET DST) From: snh1@cec.wustl.edu Received: from express.cec.wustl.edu (express.cec.wustl.edu [128.252.21.16]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id i8BIbjaI022839 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sat, 11 Sep 2004 20:37:47 +0200 Received: from clarion.cec.wustl.edu (clarion.cec.wustl.edu [128.252.21.3]) by express.cec.wustl.edu (8.12.5/8.12.5) with SMTP id i8BIbiHY011188 for ; Sat, 11 Sep 2004 13:37:44 -0500 (CDT) Received: from as0-isdn-44.wustl.edu ([128.252.41.44]) (SquirrelMail authenticated user snh1) by clarion.cec.wustl.edu with HTTP; Sat, 11 Sep 2004 13:37:43 -0500 (CDT) Message-ID: <3069.128.252.41.44.1094927863.squirrel@clarion.cec.wustl.edu> Date: Sat, 11 Sep 2004 13:37:43 -0500 (CDT) Subject: [Caml-list] Ocaml-Lua interface To: caml-list@inria.fr User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Miltered: at concorde with ID 414345F9.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; snh:99 cec:99 ocaml's:01 ffi:01 mingw:01 cygwin:01 cec:99 snh:99 0.1.:01 pax:99 ocaml:01 tar:01 buggy:03 wrote:03 interface:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 Pax, Simon ------------------- 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