lua-users home
lua-l archive

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

	Hi Taco

> I have a somewhat related question: does anybody know of
> an interpreted-lua -> c-api-lua converter?
	Have you tried luac -> bin2c -> cc ?  We have done that
in Kepler.

luac -o file.lua
bin2c > file.lch

	In your .c you could just #include the .lch file.  You
should check the result of bin2c; in our case we had to change
something (a simple sed command line did the job).

	Hope this helps,