[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RES: idea of vision of blueprint of ROADMAP of Lua core
- From: André de Leiradella <leiradella@...>
- Date: Fri, 14 Jan 2005 11:57:18 -0300
> 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