OOP with concise syntax and local classes.

$ luarocks install oops

Oops is a lightweight object-oriented programming (OOP) library for Lua,
offering class-based inheritance and a clean, expressive syntax.

It supports:
- Concise inline class definitions
- Anonymous and local classes
- Single inheritance with superclass member access
- Class fields/methods
- Metamethods with inheritance

Oops is fast and minimal — the simplest class is just a table with an initializer.
It's designed to be easy to use, easy to extend, and suitable for both scripting
and larger projects.

Versions

0.2-15 days ago1 download
0.1-010 years ago5,342 downloads

Dependencies

lua >= 5.1

Labels

Manifests