Loose is a meta object system for Lua, based on Perl's Moose.
Documentation
- Examples
- BuildingAClass - Building a simple class with Loose
- ExtendingAClass - Extending a Loose class via inheritance
- BuildingARole - Building a role with Loose
- RoleExample - Using Roles with Classes example
- AugmentExample - Extending classes via augmentation and the inner() method
- OperaterOverloading - Operating overloading
- Miscellaneous
- Helpers - Helper functions
- MethodModifiers - Method modifiers
Licensing
The license for Loose and all pages in this wiki can be found on the License page.
Credits
Loose was heavily inspired by Moose, the post-modern object system for Perl 5, and Joose, a meta object system for JavaScript.