From 63e8a3b7c4841e5b6766e2a904c6dc60341002ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=BA=C5=A1=20Ferech?= Date: Tue, 9 Oct 2018 12:12:07 +0200 Subject: [PATCH] luac: add page (#2391) --- pages/common/luac.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pages/common/luac.md diff --git a/pages/common/luac.md b/pages/common/luac.md new file mode 100644 index 000000000..88b5b389c --- /dev/null +++ b/pages/common/luac.md @@ -0,0 +1,11 @@ +# luac + +> Lua bytecode compiler. + +- 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}}`