An open API service indexing awesome lists of open source software.

https://github.com/ostensibly-1/blua

Lua 5.1 VM Environment with 5.3 Functions Support. Made in Lua 5.3, this thing can run Lua 5.1!
https://github.com/ostensibly-1/blua

bytecode compilation environment lexing lua lua-virtual-machine lua-vm lua51 lua53 parser runtime virtual-machine vm

Last synced: 3 months ago
JSON representation

Lua 5.1 VM Environment with 5.3 Functions Support. Made in Lua 5.3, this thing can run Lua 5.1!

Awesome Lists containing this project

README

        

# BLua
Lua 5.1 VM Environment with 5.3 Functions Support
### How to use?
1. Install Lua 5.3 or Lua 5.4
2. Open command prompt
3. Change the directory of the command prompt to wherever you extracted Blue
4. Modify "Script.lua" to the code you want to execute in a Lua 5.1 Environment
5. On the command prompt, run lua and place "Index.lua" as an argument (e.g. "lua Index.lua", "lua5.3 Index.lua", "lua53 Index.lua", and etc.)
### Recent Fixes and Updates
- Fixed an "oppsie" that I made writing this interpreter
### Credits
- KHMan: Yueliang Lua 5.1 Bytecode Compiler, "A No-Frills Introduction to Lua VM Instructions"
- Rerubi: NEED_VARARG support, Idea of Post Process Optimization

Pull a request or issue if you discover a bug or if I didnt put anybody in the credits.
Version: 0.1.1