Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 673 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 673 Bytes

Rust Lox Compiler

A programming language interpreter that runs in the browser (using WASM) or locally (binary executable).

Screenshot

Rust implementation of craftinginterpreters.com.

>>>>> Try it online <<<<<

Build & Run from source

  1. Clone the repository and setup the Rust toolchain. Then, cd into the repository root.
  2. Run cargo install cargo-watch.
  3. Install wasm pack from https://rustwasm.github.io/wasm-pack.
  4. Run x.sh (requires bash).
  5. Open docs/index.html using a web server ( like python3 -m http.server ).