2025-03-14 21:59:59 -06:00
|
|
|
# luac
|
|
|
|
|
|
|
|
|
|
> Lua bytecode compiler.
|
2025-05-08 12:26:01 -06:00
|
|
|
> More information: <https://www.lua.org/manual/5.4/luac.html>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Compile a Lua source file to Lua bytecode:
|
|
|
|
|
|
|
|
|
|
`luac -o {{byte_code.luac}} {{source.lua}}`
|
|
|
|
|
|
|
|
|
|
- Do not include debug symbols in the output:
|
|
|
|
|
|
|
|
|
|
`luac -s -o {{byte_code.luac}} {{source.lua}}`
|