Support for `setmetatable()` and `getmetatable()` in Lua

Started by man_the_stan

man_the_stan Lv 1

This is the standard means of providing instantiation of object "classes" without creating duplicate instances of all the member functions. Not having the capability to concisely and efficiently create instances of class objects is quite inconvenient in certain circumstances. I understand why coroutine was not included in the Fold.it command set, but why the exclusion of the metatable functions? (I've also noticed that specifying an __index field for inheritance-like behavior is not supported.)

I understand that this may be more complicated to change than just changing a parameter or two, but on the off chance that it's not too much trouble, I would really appreciate the un-exclusion of getmetatable() and setmetatable().