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!
- Host: GitHub
- URL: https://github.com/ostensibly-1/blua
- Owner: Ostensibly-1
- License: agpl-3.0
- Created: 2024-12-29T08:12:58.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-06T11:30:19.000Z (5 months ago)
- Last Synced: 2025-02-26T12:16:20.736Z (3 months ago)
- Topics: bytecode, compilation, environment, lexing, lua, lua-virtual-machine, lua-vm, lua51, lua53, parser, runtime, virtual-machine, vm
- Language: Lua
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 OptimizationPull a request or issue if you discover a bug or if I didnt put anybody in the credits.
Version: 0.1.1