lua-users home
lua-l archive

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


>>Does anybody know what the current state of toLua development is? I've
found
several bugs but have found it more convenient to implement fixes in perl
than in Lua, and so have created a perl frontend that adds some features to
toLua and corrects a few bugs.
For those that are interested, this tool parses .h and .cpp files directly,
produces a temporarr toLua "package" file, runs toLua on that file, and then
(optionally) deletes the intermediate file. If anyone is interested in
seeing/using this tool, let me know.


I've got one written in Python if anyone would like that :-D Its scans
headers, "cleans" your classes and writes a pkg file. But, too be honest I
found its just as quick to maintain the pkg file yourself and then you can
implement any workarounds easier (eg. enums in classes, renaming etc)

Are you sure you've found bugs in toLua? Usually you just have to find a way
to work round something. What problems have you had?

Regards,
Nick