Skip to content

8vasu/wasm-regex-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wasm-regex-tree

WebAssembly visualizer for Rust regular expressions.

Parses Rust regular expressions using regex-syntax and converts resulting Abstract Syntax Trees (syntactic) and High-level Intermediate Representations (semantic) to SVGs.

To run it in your web browser, click here.

coverSVG

Prerequisites

  1. rustup (installs Rust and Cargo)
  2. Install the wasm32 target:
$ rustup target add wasm32-unknown-unknown
  1. Install wasm-pack:
$ cargo install wasm-pack
  1. Optional for formatting and linting:
$ rustup component add rustfmt clippy

Build and run

$ make build && make serve

Then open http://localhost:8080 in your web browser.

About

WebAssembly visualizer for Rust regular expression Abstract Syntax Trees.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors