Use of Lua...
Members - Reputation: 1022
Posted 30 April 2003 - 09:00 PM
Senior Moderators - Reputation: 1788
Posted 30 April 2003 - 10:14 PM
How appropriate. You fight like a cow.
Members - Reputation: 122
Posted 01 May 2003 - 10:51 AM
There''s "tolua" that automatically binds c++ and Lua. However, as far as I know, tolua supports only up to Lua 4.x.
Current version of Lua is 5.0, and it has many lovely features like coroutine. My personal choice was 5.0, and writing glue functions by myself.
Crossbones+ - Reputation: 4888
Posted 02 May 2003 - 02:30 AM
I loved it!
I used it in my installer, for scripting and abused it as text database also. Added less than 100 KB to my exe file.
Right now i''m working myself into Lua 5.0 (coroutines are the way to go for "movie" scripts with a Wait/Delay command).
With 4.0 i used Luna for binding c++ objects to lua, with 5.0 i switched to LuaBind (sourceforge). I must say, i am impressed.
What i like the most, it is simple and yet powerful, and it works without having to install some dlls somewhere (python anyone?).
Just compile the libs or the source directly into your app.