lua-users home
lua-l archive

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


> Just out of curiosity, how complex would it be to write a converter from 
> compiled bytecode where LUA_NUMBER is double to compiled bytecode where 
> LUA_NUMBER is int?

Pretty easy really. Or you can just adapt lundump.c to read doubles and
convert to ints. (You'll have to rewrite the header test to skip a few
bytes.)