piccolo icon indicating copy to clipboard operation
piccolo copied to clipboard

Support string method calls

Open csnover opened this issue 3 months ago • 0 comments

Technically, to be 100% compatible, this should be calling through a metatable assigned to all strings which has __index pointing to the string global table. This intermediate approach works for all sane use cases without requiring so much work. (It is not possible to set a metatable on a string in PUC-Lua, but it is at least possible to call getmetatable on a string and then mess with it.)

csnover avatar Oct 03 '25 08:10 csnover