Skip to content

agrawal-d/rs-lox-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ).

About

A programming language interpreter that runs in the browser

Topics

Resources

Stars

Watchers

Forks

Languages