# Web Assembly
> Based on ❤️ [wasmoon](https://github.com/ceifa/wasmoon)
The [`lrocket-build-wasm`](https://codeberg.org/leso-kn/lrocket-build-wasm) compiler extension adds three WebAssembly build targets to lrc: `.html`, `.js` and `.wasm`.
It is based on the [wasmoon](https://github.com/ceifa/wasmoon) project and works by loading base64-encoded versions of custom-tailored Lua binaries. This allows to embed compiled Lua bundles and **native Lua modules** (e.g. written in C) via WebAssembly.
The result is a single Javascript file which runs Lua code that can interact with the DOM / Javascript APIs and vice versa – meaning that other `
```
You may also embed the script between an inline ``-tag.