waysome/waysome — pull request #91 by matthiasbeyer (2014-10-02 14:22:02+00:00)
Title: Add object attribute mechanism

This _kindof_ sucks.

This is my first idea of how to implement object attribute getters for
the object type.

Each type must provide an object-name-offset-type table, which gets
stored in the object v-table. The function `ws_object_attr()` allows
the _reading_ of such an attribute.

This code is untested by now and I consider this code as really ugly,
but I don't know a better way to do it by now. Please stay calm when
reviewing this.