lua-users home
lua-l archive

Re: Bytecode converter

[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.)

AltStyle によって変換されたページ (->オリジナル) /