[Caml-list] Re: Binding the Lua library [was: adding a scripting language to an ocaml program]

2010-07-07 Thread Sylvain Le Gall
On 06-07-2010, Guillaume Yziquel guillaume.yziq...@citycable.ch wrote: Paolo Donadeo a écrit : If anyone is interested in my prototype I could clean up the source, remove comments in Italian and publish it on GitHub or OCamlCore. I'm always interested in language bindings... And I think a

Re: [Caml-list] Re: Binding the Lua library [was: adding a scripting language to an ocaml program]

2010-07-07 Thread Martin DeMello
On Wed, Jul 7, 2010 at 7:20 PM, Sylvain Le Gall sylv...@le-gall.net 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

Re: [Caml-list] OCaml 3.12.0+beta1 on Cygwin 1.7.5

2010-07-07 Thread Romain Beauxis
Hi ! Le mardi 6 juillet 2010 16:36:05, Taylor Venable a écrit : Hi there, I'm thinking of writing some programs in OCaml to assist a custom build infrastructure (currently 95% Tcl, 5% external Lua programs) that we use at work. Since we build on Windows, Mac, and Linux I have to make

[Caml-list] Re: Binding the Lua library [was: adding a scripting language to an ocaml program]

2010-07-07 Thread Paolo Donadeo
On Wed, Jul 7, 2010 at 15:50, Sylvain Le Gall gil...@centi wrote: So far, we have: http://bitbucket.org/dpowers/luacaml by David Powers a prototype by Paolo Donadeo lua-ml by Christian Lindig I didn't know! I spent a lot of time searching for material on the topic and I concluded to be the

Re: [Caml-list] Binding the Lua library [was: adding a scripting language to an ocaml program]

2010-07-07 Thread Paolo Donadeo
How about translating a program in lua (or lua bytecode) to OCaml sourcecode automatically? Would that be possible? I see two problems with an approach like this: 1) it's complicated: consider that Lua was designed in the first place to be extremely simple to be embedded in a C program, and

[Caml-list] Re: Binding the Lua library [was: adding a scripting language to an ocaml program]

2010-07-07 Thread Paolo Donadeo
It's ok for me. First thing, I'll publish my GIT repository with the prototype ASAP, even with some words and comments in Italian, so to have something concrete to discuss for. Just published on GitHub: http://github.com/pdonadeo/lua_lib If the joint project will start, I of course advocate