lua-users home
lua-l archive

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


-- Lua table serializer

details = {
  intention = 'Serialize data to machine-and-human readable format.',
  requirements = {'Lua 5.3'},
  license = 'GPLv3',
  priorities = {
    fast = 0,
    simple = 0.4,
    flexible = 0.6,
  },
  handles = {
    cycles = true,
    metatables = false,
    threads = false,
    userdata = false,
    functions = false,
  },
  installation = {
    '$ git clone https://github.com/martin-eden/lua_table_serializer',
    '$ cd lua_table_serializer',
  },
  usage = {
    "require('workshop.base')",
    "local table_to_str = request('!.formats.lua_table_code.save')",
    'print(table_to_str(_G))',
  },
}

-- Martin