why not introduce those features directly to LUA5.3? I mean a feature that lua reads the `source-code.lua` and compiles it to `source-code.luac`, and outputs the `optimized-source-code.lua` meanwhile. (after
dead-code elimination and constant folding ...).
The most importance is to keep the **consistency of debug information** between `optimized-source-code.lua`and `source-code.luac` as well as equivalence.
In other words, an optimizer of lua source-code.(after opt, I compile the code with official lua5.3; it runs faster and it'll keeps the consistency naturally.)
Are you considering about this? Kawahara sann.