Files
cheatsheet-tldr/tldr/luac

18 lines
355 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>.
- 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}}`