OOP and Inheritance in Lua

Run Settings
LanguageLua
Language Version
Run Command
require "foo" x = Foo:new() y = Foo:new() y.txt = "bar" print(x.txt) print(y.txt)
Object = {} function Object:new (o) o = o or {} setmetatable(o, self) self.__index = self return o end
require "object" Foo = Object:new{txt = "foo"}
Editor Settings
Theme
Key bindings
Full width
Lines