30log



30log, in extenso 30 Lines Of Goodness is a minified object orientation framework for Lua.
It features class creation, instantiation, inheritance and much more.
And it makes 30 lines. No less, no more.

A very simple sample:

class = require '30log'
Window = class { width = 100, height = 100, x = 10, y = 10}

appFrame = Window()
print(appFrame.x,appFrame.y) --> 10, 10
print(appFrame.width,appFrame.height) --> 100, 100



Grab it on Github.

Personal tools