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 LAA15526; Sun, 15 Dec 2002 11:05:28 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA15524 for caml-list@pauillac.inria.fr; Sun, 15 Dec 2002 11:05:27 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA05529 for ; Sat, 14 Dec 2002 19:56:26 +0100 (MET) Received: from mail.eecs.harvard.edu ([140.247.60.24]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id gBEIuPj01912 for ; Sat, 14 Dec 2002 19:56:26 +0100 (MET) Received: from labrador.eecs.harvard.edu (labrador.eecs.harvard.edu [140.247.60.247]) by mail.eecs.harvard.edu (Postfix) with ESMTP id 0860A54C5FE; Sat, 14 Dec 2002 13:56:25 -0500 (EST) To: Eric Merritt Cc: caml-list@inria.fr Subject: Re: [Caml-list] ocaml embedded scripting language In-Reply-To: Message from Eric Merritt of "Fri, 13 Dec 2002 17:52:14 PST." <20021214015214.68552.qmail@web40805.mail.yahoo.com> References: <20021214015214.68552.qmail@web40805.mail.yahoo.com> Date: Sat, 14 Dec 2002 13:56:25 -0500 From: Norman Ramsey Message-Id: <20021214185625.0860A54C5FE@mail.eecs.harvard.edu> Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > I was wondaring if anyone is familiar with a little > language implementation that is suitable to be > embedded in an ocaml program. I realize that it > wouldn't be that hard to do, especially in ocaml, but > hate to duplicate work someone else has already done. > There aren't really that many requirements, just the > ability to look at passed in data structures a return > a result based off of them. > > > At first I thought that ocaml itself would be the best > scriping langauge but I havn't figured out how to link > in code compiled with ocamlopt. In fact, I don't think > it is possible at the moment. We've written an implementation of Lua, version 2.5, for Ocaml. It's currently bundled with our nascent Quick C-- compiler at www.cminusminus.org. I'd like to split it out as a separate distribution, but we're rather short of help at the moment and I'm trying to get the papers written first. Anyway, as far as I know it's completely compatible with the C version, although a few library functions are missing. We've been fairly happy. If you want to play with it, download and build Quick C--, then go to the lua subdirectory and type `mk lua.ps'---that will give you the documentation for the API. The documentation for the language can probably be had from lua.org, but if they don't keep manuals for old versions, let me know and I'll put one in our CVS archive. Norman ------------------- 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