jtran / whitespace

Parser for a language with significant whitespace that runs in WebAssembly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

whitespace

A parser for a language with significant whitespace.

Building

Build the CLI:

cargo build --release

Build the WebAssembly module. Output is pkg/.

wasm-pack build --target web

Running the Demo

  1. Build the WebAssembly module (see above)
  2. Run a web server in this repo's root directory. You need a web server to serve the WebAssembly module.
  3. Open index.html

Testing

Run tests:

cargo test

About

Parser for a language with significant whitespace that runs in WebAssembly


Languages

Language:Rust 96.2%Language:HTML 3.8%