Version française
Home     About     Download     Resources     Contact us    
Browse thread
adding a scripting language to an ocaml program
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: David Allsopp <dra-news@m...>
Subject: RE: [Caml-list] Re: adding a scripting language to an ocaml program
Martin DeMello wrote:
> On Sun, Jul 4, 2010 at 12:13 AM, Michael Ekstrand <michael@elehack.net>
> wrote:
> > The authors of C-- have implemented a Lua engine in OCaml, with a
> > good, high-level, type-safe interface for embedding it.  Look for 'lua-
> ml'.
> > There is also an OCaml implementation of Scheme called 'ocs'; I do not
> > have experience with it, so I cannot speak to its API style.  Finally,
> > there are OCaml bindings to the SpiderMonkey JavaScript engine.
> 
> Both lua-ml and ocs seem dead (their homepages are gone) :(

> Can't tell if spidercaml is active or not; the page has a download link for
> version 0.2 and no date.

SpiderCaml is alive and well - I submitted patches (which are in SVN) to Alain a few months ago for 0.2 but I don't think he's time to wrap it all into another release. I haven't tested against Mozilla's latest offering but I have it working very nicely with SpiderMonkey 1.7.0 on Windows 7. It's only because compiling MinGW builds of SpiderMonkey is non-trivial that I haven't tried it against the a 1.8 engine - on Linux (or possibly using the MSVC Windows branch) I expect it would be easy to do.


David