lua-users home
lua-l archive

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



luasocket-2.0-alpha does good use of this, so if you're looking for a real-world example.. :)


Erik Hougaard kirjoittaa perjantaina, 9. tammikuuta 2004, kello 11:39:

Nighma wrote:

Hi all,

I'd like to knwo if it's possible to create a executable file with lua 5.0?

If yes, can you explain me it?

Tx


You can try to take a look at bin2c.c in lua\etc. This can used to embed a compiled lua thunk into a C program that you can compile into a EXE with your C compiler.

/Erik