FiOne
FiOne copied to clipboard
Lua 5.1 bytecode interpreter, in Lua
- Better more descriptive error messages for invalid bytecode - Make all strings use double quotes. Not sure if this is a bad change but double quotes are often preferred...
I'm not sure if this actually makes sense. For large `LOADNIL` sequences this is probably a lot faster than the regular method but I'm not sure if this is always...
bit32 is used in vanilla Lua and Luau meanwhile bit is used in LuaJIT. I think the vanilla naming should be preferred and Luau would treat it better. Not sure...
Ok maybe this is out of scope for this project but the bytecode of both versions is similar enough to that of 5.1 that it could be simply translated to...
This fixes a longstanding issue