Files
cheatsheet-tldr/tldr/luac
2025-04-26 00:18:47 +00:00

18 lines
376 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# luac
> Lua bytecode compiler.
> More information: <https://www.lua.org/manual/5.4/luac.html>.
- 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}}`