lua-users home
lua-l archive

Lua 5.1 Bytecode Question

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


Hi,
I saw in the source of Lua 5.1 that there are 3 new instructions:
1. the modulo instructions
2. the "length" instruction
3. the vararg instruction
I also saw that they were inserted in the middle of the list of isntructions of 5.0. I understand that you'd like the "MOD" op with the rest of the binary ops, but it makes things a bit harder when creating tools, such as a bytecode translator or something. Is there any chance any new ops are added to the /end/ of the list of instructions?
Kind regards,
klaas-jan stol

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