lua-users home
lua-l archive

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

> What is "TM"?
> If "TM" is short for "Tag method", then a question raises:
> Are "Tag method" and "Metamethod" the same?

Yes, TM is short for tag method. Tag methods were the ancestors of
metamethods, used before Lua 5.0 (?). When we changed the mechanism,
we did not correct every single name or comment in the Lua source that
mentioned tag methods. For the purpose of reading the code, they are the

-- Roberto