Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laszlokorte/damasc-workspace
WIP Experiment of implementin a pattern matching based language in Rust, inspired by ES6 and Erlang
https://github.com/laszlokorte/damasc-workspace
erlang es6 pattern-matching rust
Last synced: about 20 hours ago
JSON representation
WIP Experiment of implementin a pattern matching based language in Rust, inspired by ES6 and Erlang
- Host: GitHub
- URL: https://github.com/laszlokorte/damasc-workspace
- Owner: laszlokorte
- Created: 2023-01-19T16:07:00.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-05T11:35:00.000Z (8 months ago)
- Last Synced: 2024-04-09T23:06:25.359Z (7 months ago)
- Topics: erlang, es6, pattern-matching, rust
- Language: Rust
- Homepage: https://damasc.laszlokorte.de/workspace/
- Size: 545 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Damasc Workspace
## How to use
### Running Tests
```shell
cargo test
```### Run REPL
```shell
cargo run --bin damasc-cli
```### Run HTTP Server
```shell
cargo run --bin damasc-http
```### Run as WASM in Browser
> Requires `cargo install cargo-server` to run local webserver
```shell
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`
```shell
cargo watch -- wasm-pack build damasc-wasm --target web --out-dir public/wasm
```### Run Code Formatter and Linter
```shell
cargo clippy --fix --allow-dirty
cargo fmt
```