lua-users home
lua-l archive

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


> My tentative list:
> 
> -  function environments (see (1) below)
> -  coroutines (is there *anyone* at all who agrees??  :-)  )
> -  mutable upvalues (see (2) below)
> -  proxy constructions
> 
> And some pluses:
> 
> +  __pairs metamethod
> +  __settable, __gettable metamethods
> 

What about:

+ Classes and objects

It's #1 to me. This seems to be a common wish, every now and then we see
threads on this topic and many people have developed workarounds so that
it looks like Lua is a real OOP language, and (or as) the game
programing community uses C++ a lot. It's not necessary to add
predefined classes to the core (like Java's VM that rely on String and
StringBuffer at least), just the ability to define classes, instantiate
objects and calling [inherited] methods.

Regards,

Andre de Leiradella