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 years ago88 downloads
1.0-55 years ago36 downloads

Dependencies

lua >= 5.1, < 5.4

Labels

Manifests