lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


There was a SWIG for Lua 4 but it is no longer supported AFAIK. It was part of the Lua Gnome project I think.

wxLua uses ctags to parse the wx headers and then a Lua script to turn this into a binding.

toLua is the autobinding generator of preference of quite few people on this list. Hopefully it will be available soon.

If you wanted an example of a project that uses tolua (for Lua 4) you could look at http://doris.sf.net/ 

--nick


-----Original Message-----
From: Benjamin Freidlin [mailto:benfr@microsoft.com] 
Sent: Tuesday, July 22, 2003 1:41 PM
To: Lua list
Subject: RE: No toLua for Lua 5?

What would be the best way right now to automate the task of creating bindings for my C++ classes? I have a pretty clean C++ based 3D graphics/game engine that I want to expose to lua. A lot of the options for creating bindings seem pretty laborious and confusing. I was hoping there would be somekind of SWIG like tool. Was there not a SWIG for lua floating around?
 

From: lua-bounces@bazar2.conectiva.com.br [mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Waldemar Celes
Sent: Tuesday, July 22, 2003 4:30 PM
To: Lua list
Subject: Re: No toLua for Lua 5?
 
not yet, sorry.
I am still working on it.

-- waldemar

At 15:15 22/7/2003 -0500, you wrote:

Just wondering if this impression is right, is there not a toLua compatible with Lua 5?