- Getters and setters (via
get 'property' function() ... end
) - Add ternary function operator (via ()'?'':')
- Add private/protected/public keys via closures and _ENV variable
- Encapsulate imports and namespaces via _ENV variable
- Try to declare namespace globally for a file instead of namespace block
3.1.0 - 2021-06-22
import
functionType.setBasePath()
method to rewrite file search path
TypeBase
class
3.0.3 - 2021-06-20
- Apache 2 license
- Rockspec file for LuaRocks
- Memory tests didn't execute on unix
3.0.2 - 2021-06-15
- Class definitions. Memory usage reduced
3.0.1 - 2021-06-15
- Memory usage test
- Parameter to test scripts
- Object instantiation. Now object prototypes are saved in
__meta.__proto
entry which reduces the amount of memory usage
3.0.0 - 2021-06-13
- Namespace support
- Extra method to Class API -
getName()
2.3.0 - 2021-06-12
Object():clone()
method
2.2.0 - 2021-06-11
- Operator overloading feature
2.1.0 - 2021-06-09
- Try-catch-finally clause
2.0.0 - 2021-06-09
- Multiple inheritance support
- Ability to delete types via
Type.delete()
orTypeBase():delete()
default
case in switch statementnull
function in case of using null values in tables
- Extracted "private" methods from
Type
to local functions - Tests now have detailed description
- Redudant methods
Class(<type>):get*()
from Class API
1.4.0 - 2021-05-26
switch
function statement
1.3.0 - 2021-05-21
- New Class API. It's accessible from
Class
class
1.2.0 - 2021-05-21
- Inheritance support
- New field to class meta table -
extends
, which contains a reference to the parent class - Ability to retrieve specific field of meta by passing key to
Object.getMeta(key)
method
1.1.0 - 2021-05-18
Object.getMeta()
method to get class meta info
1.0.0 - 2021-05-17
Release