A standalone Luau runtime.
It is a simple command-line tool that allows you to run Lua scripts and functions directly from the terminal. Its performance is optimized for quick execution of Lua code snippets, making it suitable for low-end hardware such as the Raspberry Pi.
$ cat > hello.lua <<EOF
> function hello()
> print("Hello, world!")
> end
> return hello
EOF
$ lmb eval --file hello.lua
Hello, world!For more information, please read the guided tour.
- Batteries included: Comes with handy libraries such as
crypto,http, andjson. - Easy to use: Run Lua scripts and functions from the command line.
- Fast: Optimized for quick execution, making it suitable for low-end hardware.
- Secure: Runs Lua code in a sandboxed environment provided by Luau to prevent unwanted side effects.
You can install lmb using cargo:
$ cargo install --git https://github.com/henry40408/lmb.git --locked- Lune: I discovered this project through an issue in the mlua repository. If you need a Lua runtime with features for the Roblox platform, you might want to try Lune. Since I do not develop for the Roblox platform, I do not plan to add similar features to this project in the near future.
MIT