Hi there. I tried testing this library with the latest version of node-tree-sitter (0.21.1) and I'm getting an error Invalid language object when calling parser.setLanguage(Swift).
It looks like the 0.21.1 node package made some breaking changes by switching over to the napi interface for running native code, which means this repo needs to regenerate the bindings.
I tried running tree-sitter generate on the repo in a fork but was running into some strange missing symbol errors that I haven't been able to figure out yet. Happy to open a pull request with those changes but it was literally just me running the command.
Hi there. I tried testing this library with the latest version of
node-tree-sitter
(0.21.1) and I'm getting an errorInvalid language object
when callingparser.setLanguage(Swift)
.Related issue: https://github.com/tree-sitter/node-tree-sitter/issues/193
It looks like the 0.21.1 node package made some breaking changes by switching over to the
napi
interface for running native code, which means this repo needs to regenerate the bindings.I tried running
tree-sitter generate
on the repo in a fork but was running into some strange missing symbol errors that I haven't been able to figure out yet. Happy to open a pull request with those changes but it was literally just me running the command.