lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Assuming you're under Windows, I have written this couple of little utilities that work well for me (YMMV):

1. Convert a pure Lua source to a single file, compile it to bytecode, and turn it into a C program ready for compilation:

2. Same as above but without the conversion-to-C step:

(For Linux the same approach works but I haven't yet taken time to create the related binaries.)

Hope it helps.

-----Original Message----- From: Andreas Mueller
Sent: Friday, March 24, 2017 10:03 AM
Subject: glue the bytecode with lua


 is there a way to glue the bytecode (created with luac) together with lua?

 (To get one file to give it to my users)


Andreas Müller