There was an error while loading. Please reload this page.
1 parent 9dd76f2 commit 30b0745Copy full SHA for 30b0745
1 file changed
packages/wasm/README.md
@@ -32,3 +32,29 @@ const g = ohm.grammar('MyGrammar { start = "blah" }');
32
// compile() returns the Wasm grammar blob as a Uint8Array.
33
const bytes = new Compiler(g).compile();
34
```
35
+
36
+### Development
37
38
+#### Prerequisites
39
40
+- pnpm
41
+- Node >= 24
42
+- Make
43
44
+#### Setup
45
46
+From the repo root:
47
48
+```
49
+pnpm install
50
51
52
+#### Testing etc.
53
54
+From packages/wasm dir:
55
56
57
+pnpm test # Run all tests
58
+pnpm ava test/test-liquid-html.js # Run a specific test file
59
+make bench # Run perf benchmarks
60
0 commit comments