mirror of
https://github.com/bytedream/litbwraw.git
synced 2025-12-13 07:22:08 +01:00
505 B
505 B
Lua in the Browser, with Rust 🦀 and WebAssembly
This smol book describes how to use Lua in the Browser, powered by Rust WebAssembly.
You should have basic knowledge of Rust, Rust FFI and Javascript, the book will not explain language features or constructs that are irrelevant to Rust WebAssembly.
-- Hello world example that executes right in your browser.
-- This is an interactive REPL, you can write any Lua code you want here.
print("Hello from WebAssembly Lua!")