Repository building wasms for use by Cursorless.
Instructions for adding new parser wasms (WIP):
-
Add the tree-sitter package for the specific language to
devDependenciesinpackage.jsondirectly, or usenpm install --save-dev --ignore-scripts <package>. -
Bump minor version in
package.json -
Run
npm install --ignore-scriptsto updatepackage-lock.json.
- If a build failure of some sort occurs, you will need to utilize the special build options in
build.ts, specifically in theprocessParserfunction. If you can't figure it out, leave the PR as a draft and ask for help.