lua-users home
lua-l archive

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


2012/12/31 Dirk Laurie <dirk.laurie@gmail.com>:
>> I've included a little script 'compress.lua' which knocks ml.lua down
>> from 28K to 13K; I intend to add extra annotations so that an
>> intelligent squisher tool would only link in the code that you use.

[Ignore previous empty post]

The script would be well-positioned to do intelligent extraction.
I.e. certain named ML routines plus whatever they depend on
(local functions, upvalues (I hope not), other ML routines).
And intelligent exclusion, e.g.everything that does not require
ml.function_arg.