开源软件名称(OpenSource Name):ds84182/LuaVM开源软件地址(OpenSource Url):https://github.com/ds84182/LuaVM开源编程语言(OpenSource Language):Lua 100.0%开源软件介绍(OpenSource Introduction):LuaVMLua Virtual Machine for Lua so you can Lua while you Lua UsageTo use LuaVM, first you must meet all the requirements:
Then, you must require the modules you need (sorry for the global namespace injections):
After that, simply call Documentationbytecode.load(bytecode)Loads valid Lua 5.1 or 5.2 bytecode (as a string). Returns a table. bytecode.save(bytecode)Redumps bytecode tables created from vm.run(bytecode, arguments, upvalues, globals, hook)Starts running bytecode. Arguments, Upvalues, Globals, and Hooks are optional. Returns whatever the emulated bytecode returns. Arguments, upvalues, and globals must be a table. Hook must be a function, it is called every single instruction. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论