[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: C++ and Lua question.
- From: Nahuel Greco <ngreco@...>
- Date: Tue, 13 Mar 2001 11:26:25 -0300
Hi
What is the best way / library to use Lua with C++?
I want (in the perfect case) to do the following:
Call Lua functions from C++ code.
Call C++ functions and functions members from Lua.
Use C++ Classes from Lua, almost transparently.
Instance a C++ class in Lua.
Use a C++ instance from Lua (access the data / call methods).
Pass a C++ instance to a C++ function/f. member function from Lua.
Derive C++ classes in Lua (and i can define new virtual functions in lua).
Derive Lua "classes" in C++ ??
Access Lua data from C++.
Access Lua data from C++ with STL.
Access LOCAL variables of a C++ function from a lua code called in that function.
There is some library that i can use to do this?, which "features"
that i have listed are present and which not?
BTW: Can i define some "collections of variables" in lua, and then.. return to C
code, and call another lua function that can access that collection of variables
(variables and other lua functions).
(im very very very new to Lua).
_------------------------------------------------------------.
| Nahuel Greco Web Development - Open Source |
| http://www.codelarvs.com.ar Game Programming - Research |
| Freelance coding / sysadmin Networking. The answer is 42. |
'------------------------------------------------------------'