I have just uploaded Version 2.0, which adds a new Class function and changes the syntax of method calls. I also cleaned up the code quite a bit, which should improve performance and efficiency.
An updated example:
label = Label("Label");
label:setSize(128, 16);
label:setLocation(8, 8);
label:setFontSize(label.getHeight() or 16);
The change from . to : is due to the methods hiding the self variable. For those not familiar with this syntax:
function Label:setSize(width, height)
is the same as
function Label.setSize(self, width, height)
So, you should only have to update your own code to reflect the change in syntax, the rest should be the same.
Please let me know if you have any questions or concerns. Thanks and enjoy!