lua-users home
lua-l archive

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


On Sun, Feb 23, 2014 at 7:32 AM, Petite Abeille
<petite.abeille@gmail.com> wrote:

> In the meantime, I personally like Paul Kulchenko's 'Serpent' implementation:
> http://notebook.kulchenko.com/programming/serpent-lua-serializer-pretty-printer
> https://github.com/pkulchenko/serpent

Serpent provides maxlevel and maxnum parameters to limit the number of
levels to expand the tables and number of elements to show in the
tables and may satisfy most of the requirements on Philipp Janda's
list.

It does support line (everything on one line) and block (each value on
its own line) modes, but doesn't wrap the line at a particular number
of characters.

Paul.