lua-users home
lua-l archive

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

On Fri, Feb 11, 2011 at 2:39 PM, Christian Tellefsen
<> wrote:

A fair summary. But these two points:

> * It has no type modifiers (like const, for example).
> * You can't create new types or new complex / compound types.

We can make a table read-only through some metatable magic, so 'const'
can be catered for.

And metatables generally give the mechanism to generate _user_ types,
even if they do all collapse into tables or userdata on the language

steve d.