Skip to content

laszlokorte/damasc-workspace

Repository files navigation

Damasc Workspace

How to use

Running Tests

cargo test

Run REPL

cargo run --bin damasc-cli

Run HTTP Server

cargo run --bin damasc-http

Run as WASM in Browser

Requires cargo install cargo-server to run local webserver

wasm-pack build damasc-wasm --target web --out-dir public/wasm
cargo server --open --path damasc-wasm/public

WASM with Cargo Watch

Requires cargo install cargo-watch

cargo watch -- wasm-pack build damasc-wasm --target web --out-dir public/wasm

Run Code Formatter and Linter

cargo clippy --fix --allow-dirty
cargo fmt

About

WIP Experiment of implementin a pattern matching based language in Rust, inspired by ES6 and Erlang

Topics

Resources

Stars

Watchers

Forks

Contributors