Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update to tree-sitter 0.23 #110

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

aldoborrero
Copy link

@aldoborrero aldoborrero commented Oct 20, 2024

Summary of Changes

This PR introduces updating the code to use tree-sitter 0.23. It takes the work performed on PR #108 (so it would be great to merge that one, as I can't set the base branch of this PR to the other one) and from there add the following:

  • feat: migrate corpus/ to test/corpus as required by tree-sitter 0.23
  • feat: migrate to tree-sitter 0.23
  • feat: add support to swift, c, go bindings.
  • feat: add a examples directory with sample code on using the bindings.
  • feat: increased the version to 0.0.6 to match the values of builtins.languageVersion.
  • feat: add go-bindings checks

Next objectives

  • Improve the README to make the repository accessible to newcomers.
  • Update the code to tree-sitter version 0.24.2.
  • Add more examples to the examples directory for other languages.
  • Add more examples in
    The next objective is to improve the README of the project. I'm more than happy to discuss stuff.

Known Issue

There's still one issue with the highlights that I need to check out why it is happening, so tests won't pass until I fix it.

- Introduction of flake-compat and treefmt-nix flake inputs
- Switched configuration of treemfmt to use treefmt-nix
- Removal of old shell.nix to use flake-compat version
- Addition of .gitignore exclusions for nix and direnv
- Addition of .envrc with nix-direnv
- Addition of package.nix and move logic of default.nix to it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant