A class library with polymorphism, inheritance and encapsulation.

$ luarocks install lua-pie

lua-pie is a class library that supports polymorphism, inheritance and encapsulation (hence the name!). Accessibility is specified via the keywords private, public and static. Attributes are defined in the constructor and are private by default.
It is also possible to implement metamethods for classes via the operators function.

Versions

1.0-65 days ago2 downloads
1.0-57 days ago2 downloads

Dependencies

lua >= 5.1, < 5.4

Labels

Manifests