public
Description: Loonar: The flexible object system for Lua
Home | Edit | New

Home

Loonar – a object-oriented framework for lua

loonar class-based object system for Lua 5.1, like Moose for Perl 5 or Prototype, MooTools for JavaScript.

Overview

It provides:

  • Modern object model (like CLOS, Python, Ruby)
    • Everything is object, including primitive types like function, string, number….
    • Classes are also objects. Every class is an instance of the class identified as class.
    • table is the base class. It is also identified as object. (table == object)
    • Metaclass protocol
  • Multiple inheritance
  • Integrated classes, including primitive types like boolean, number, string, table, function
  • Various iterator utilities like map, filter, reduce
  • Some functional programming helpers

table of content

Last edited by speedmax, Fri Aug 15 23:57:42 -0700 2008
Home | Edit | New
Versions: