tldr/pages/common/luac.md

13 lines
262 B
Markdown

# luac
> Lua bytecode compiler.
> More information: <https://www.lua.org>.
- 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}}`