[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Calling Lua from C
- From: Enrico Tassi <gareuselesinge@...>
- Date: Fri, 7 Oct 2011 22:21:18 +0200
On Fri, Oct 07, 2011 at 10:05:10PM +0200, Patrick Rapin wrote:
> I thought that calling Lua from C[++] should be very common. Lua is
> designed to be embedded, and is written in "clean C" to simplify
> compilation in various environments.
> The standard Lua API is powerful and complete, but not really handy.
Really? Try to call an OCaml function from C ;-)
> I feel frustrated, because I wrote two open-source libraries to simply
> call Lua from C++ [1][2]. LuaClassBasedCall is particularly powerful
> and easy to use.
My guess is that almost everybody re-discovered or just copy-pasted
that: http://www.lua.org/pil/25.3.html
Cheers
--
Enrico Tassi