lua-users home
lua-l archive

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


Pierre Chapuis wrote:
> I know, it's not efficient. Another way to do it would be to have the
> user explicitly mark lists as lists, for instance with a metatable,
> and otherwise encode everything as hash tables.

Have you seen how it's done in mplua?
https://github.com/nobu-k/mplua/blob/master/src/lua_objects.hpp#L145