metaworm/luac-parser-rs

Table output improvement

Opened this issue · 0 comments

When given the following script:

local tbl = {
    {},
    [100000] = {}
}

Metaworm's luadec either:

  1. generates a file with over 100 thousand lines (luajit):
local r0_0 = {
  {},
  nil,
  nil,
  nil,
  nil,
  nil,
  nil,
  nil
...
  1. fails to generate the second value at all, like so:
local r0_0 = {
  {}
}