diff options
author | Akshay <[email protected]> | 2021-06-13 08:29:12 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2021-06-13 08:29:12 +0100 |
commit | ddb48868f00092b92401f40a74213ee131a192d9 (patch) | |
tree | 97ceac44f166c29d2384935e549b0c39d1ddb3f1 | |
parent | 5a9b071e2684eb2f4a538c2cda1809fa47129adf (diff) |
add readme
-rw-r--r-- | readme.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/readme.txt b/readme.txt new file mode 100644 index 0000000..53e9e4d --- /dev/null +++ b/readme.txt | |||
@@ -0,0 +1,18 @@ | |||
1 | explore rust csts, entirely in your browser. syntax elements | ||
2 | are extracted using the rust-analyzer/syntax crate, and | ||
3 | exposed to js via wasm. | ||
4 | |||
5 | |||
6 | build: | ||
7 | |||
8 | $ nix shell | ||
9 | $ wasm-pack build | ||
10 | $ cd www && npm run build | ||
11 | |||
12 | |||
13 | run: | ||
14 | |||
15 | $ xdg-open www/dist/index.html | ||
16 | |||
17 | |||
18 | try it out at https://cstea.peppe.rs | ||