Skip to content

Commit 8dab10d

Browse files
Add [email protected]; add rudimentary instructions to README (#19)
What it says on the tin, really. Adding `tree-sitter-gdscript` is required for me to start work on gdscript support and eventually an editor plugin for Godot. Feel free to edit the instructions or delay those until another PR, though. --------- Co-authored-by: Andreas Arvidsson <[email protected]>
1 parent 77aaada commit 8dab10d

File tree

3 files changed

+32
-1
lines changed

3 files changed

+32
-1
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
# Cursorless Tree sitter wasms
22

33
Repository building wasms for use by Cursorless.
4+
5+
Instructions for adding new parser wasms (WIP):
6+
7+
- Add the tree-sitter package for the specific language to `package.json` directly, or use pnpm to do so.
8+
9+
- If a build failure of some sort occurs, you will need to utilize the special build options in `build.ts`, specifically in the `processParser` function. If you can't figure it out, leave the PR as a draft and ask for help.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cursorless/tree-sitter-wasms",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "Prebuilt WASM binaries for tree-sitter's language parsers.",
55
"packageManager": "[email protected]",
66
"main": "bindings/node",
@@ -35,6 +35,7 @@
3535
"tree-sitter-css": "0.19.0",
3636
"tree-sitter-dart": "github:UserNobody14/tree-sitter-dart#9ac03bb2154316624fb4c41fe0f372a5f1597b43",
3737
"tree-sitter-elixir": "github:elixir-lang/tree-sitter-elixir#02a6f7fd4be28dd94ee4dd2ca19cb777053ea74e",
38+
"tree-sitter-gdscript": "5.0.1",
3839
"tree-sitter-gleam": "github:gleam-lang/tree-sitter-gleam#2012f294baacf30e7a62414754021284377366c6",
3940
"tree-sitter-go": "github:tree-sitter/tree-sitter-go#bbaa67a180cfe0c943e50c55130918be8efb20bd",
4041
"tree-sitter-haskell": "github:tree-sitter/tree-sitter-haskell#a50070d5bb5bd5c1281740a6102ecf1f4b0c4f19",

pnpm-lock.yaml

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)