On Sat, Jul 30, 2016 at 11:01:29PM +0200, Schmitz Thomas A. wrote: > Thank you, but this is not what I’m looking for. I know how to sort a table, > and I know the Lua table tutorial (the Lua wiki is, IMHO, really terrible and > disorganized). I have to construct deeply nested tables and sometimes lose > track of what is at what level of my table, so I was wondering if there was > an easy way of visualizing a nested table. On the web, you can find a number > of (mostly abandoned) projects; the one at > http://siffiejoe.github.io/lua-microscope/ says: "Many Lua programmers have > written their own pretty-printer or data dumper and some even use it for > (de-)serializing Lua data structures.” So I was wondering if any of the Lua > users here on the list has something they want to share.
Well, there’s table.serialize from the ConTeXt core, which fits nicely in the description you quote. Best, Arthur ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________