Re: [ANN] lcm -- Lua Code Melder, 2026-04
"'Martin Eden' via lua-l" <[email protected]> Thu, 23 Apr 2026 20:08:28 +0200
| Newsgroups | gmane.comp.lang.lua.general |
|---|---|
| Message-ID | <[email protected]> |
On 2026-04-23 19:50, Marc Balmer wrote: >> Am 23.04.2026 um 19:22 schrieb 'Martin Eden' via lua-l<[email protected]>: >> >> Hello list, >> >> I've updated lcm, Lua Code Melder. >> >> It's command-line tool to merge all .lua files in provided directory into one Lua code block. > How does it differ from $ luac -o myprog.luac *.lua ? Guten Abend, Marc. It's directory tree scanner which embeds literal file contents (with quoting) into generated text code. When you run Lua on that generated code file -- only one module will run (which was specified at pack time). As I understood from "man luac", "luac *.lua" compiles .lua files from current directory and places their bytecodes in another file. Running Lua on that file will run all that files in some sequence. So I don't think "luac" is designed for bundling. -- Martin -- You received this message because you are subscribed to the Google Groups "lua-l" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/lua-l/c7532078-c641-49ff-8f0e-41328f7b3b21%40disroot.org.