lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


So, if one is implementing any sort of design pattern that relies on proxy
tables, how many things need to be overriden to make them look like
conventional tables.

    __index
    __newindex
    next
    pairs
    table.foreach

Anything else?

I have to say that for my purposes, I am strongly tempted to modify the Lua
implementation to invoke some extra code on table stores, but I'd like to
have a version that didn't rely on hacking the VM.

Mark