[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

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 a

[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 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 only one OC

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

2010-07-07 Thread Török Edwin
On Wed, 7 Jul 2010 22:36:28 +0200 Paolo Donadeo wrote: > On Tue, Jul 6, 2010 at 23:28, Guillaume Yziquel > wrote: > >> And, of course, any ideas or help on the garbage collector(s) > >> issue are welcome. > > I do not know much about Lua's GC. My experience (for R, Python and > > Java) is that i

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

2010-07-07 Thread Paolo Donadeo
On Tue, Jul 6, 2010 at 23:28, Guillaume Yziquel wrote: >> And, of course, any ideas or help on the garbage collector(s) issue are >> welcome. > I do not know much about Lua's GC. My experience (for R, Python and Java) is > that it's doable. The GC implemented in Lua [1] is an incremental mark-and

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 m

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 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 process huge amount o

[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 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 few other > people are i