mirror of
https://github.com/bytedream/litbwraw.git
synced 2025-12-12 23:12:07 +01:00
15 lines
505 B
Markdown
15 lines
505 B
Markdown
# 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.
|
|
|
|
---
|
|
|
|
```lua,editable
|
|
-- 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!")
|
|
```
|