lua-users home
lua-l archive

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


On 14 September 2013 18:07, Alexander Gladysh <agladysh@gmail.com> wrote:
> Hi, list!
>
> We use Squish[1] as a tool to pack and minify a bunch of Lua source code files.
>
> It works nicely, but error messages and stack traces are, obviously, a
> bit hard to comprehend.
>
> Did anyone implement something akin to JavaScript source maps[2] for
> Squish (preferably supporting mapping line numbers as well)?

This is something I've been meaning to look into. You are right that
squish's current --debug doesn't suffice. I think ultimately this is
the job of the minification code, and squish uses LuaSrcDiet[1] rot
that almost unmodified.

Regards,
Matthew