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:
http://chiselapp.com/user/tonypdmtr/repository/PureLua53/uv/lua2c.exe

2. Same as above but without the conversion-to-C step:
http://chiselapp.com/user/tonypdmtr/repository/PureLua53/uv/onelua.exe

(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
To: lua-l@lists.lua.org
Subject: glue the bytecode with lua

 Hi,

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

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

 Greetings
 Andreas

--
Andreas Müller