On 28 July 2015 at 14:42, Philipp Janda <siffiejoe@gmx.net> wrote: > As an alternative, maybe we can have a new format specifier for > `string.format` that calls `lua_topointer` on its argument (`%p` is still > free I think) ... That would also be useful, though why not both? :) I was alerted by 'xyzzy_' in the #lua irc room that luajit already has it (using %p): http://repo.or.cz/w/luajit-2.0.git/blob/a5b1c4d98eeb97a950774ae032f51f820dfbfc4c:/src/lib_string.c#l892