lua-users home
lua-l archive

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


On 2/25/06, D Burgess <dburgess@gmail.com> wrote:
> There is a bin2c.lua around (on the Wiki I think).  If not mail me and
> I will send it to you.

There's a bin2c.lua that I wrote here
http://cvs.sourceforge.net/viewcvs.py/wxlua/wxLua/util/bin2c/bin2c.lua?view=markup

It can transform binary or text files to const char* strings. The text
file implementation maintains lines so that if you import it into CVS
the diffs aren't so ugly. If you set it to output to a file it only
updates it if there are differences.

Regards,
    John Labenski