I updated my
TreeSitter.Bindings packages to support additional languages. I wanted to check how solid the bindings were and if I could implement a more complex sample with the respect to the json one I started with.
The tree-sitter documentation provides a multilanguage sample which involves three languages:
- embedded template
Luckily for me, my poor understanding of c/c++ build stack and lack of skills regarding scripting didn’t stop me.
I was able to update
TreeSitter.Bindings with the bindings for the new libraries, update the runtime packages to include the compiled libraries of the new languages (using version
The sample project in the repo now provides both samples:
I suggest to run it in the provided Dev Container. If not possible install
libcxx in your linux distribution.
Next step could be supporting Windows.