hugomg/lua-aot-5.3 ? reverse-engineered prompt
Reverse engineered prompt
Build me this Lua 5.3 ahead of time compiler project so I can take a Lua file, compile it into a C based module, and run it with an optimized path.
I want the source tree to build cleanly, the modified Lua VM to work, and the experiment scripts to generate and run the sample modules from the examples folder. Please make sure the normal version still runs, and the fast version uses the precompiled code through the helper function the README describes.
If anything is unclear from the existing code or old docs, look up current Lua 5.3 build details online and then wire it up so I can follow the README steps without guessing. I’d also like the benchmark script and the standalone run script to work end to end on a fresh checkout.
Are you gonna build this?
make sure you review the code using coderabbit