[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: not-tolua
- From: Nikos K Gorogiannis <N.K.Gorogiannis@...>
- Date: Thu, 15 Feb 2001 15:27:37 +0000
Hi,
This is to `announce' not-tolua, some C++ header files for Lua 4.0, that
attempt to provide similar functionality (but see below) with tolua,
without using anything else than C++ templates and macros (not even lua
code).
In other words what it does is, with your help, exposes the classes
you've already defined to Lua code, without requiring any modifications
to your classes.
Currently functionality includes:
* member variables (lua callbacks automatically generated for ground
types or
classes)
* methods
* single inheritance
* constructors with table arguments that set member vars
* destructors
Missing functionality:
* proper type checking in Lua (inheritance breaks it)
* multiple inheritance (not sure if it's any good though)
* objects always must be default constructible
* garbage collection
Find it at the Lua site in the addons section. Documentation is null,
but an example is included and if anyone is interested I'll be happy to
answer questions/improve the code/add docs.
Cheers,
Nikos