Skip to content

feat: tree-sitter version compatibility issues with gritql repository #31

Description

@caiuswang

Did you check existing issues?

  • I have read all the tree-sitter docs if it relates to using the parser
  • I have searched the existing issues of tree-sitter-gritql

Tree-Sitter CLI Version, if relevant (output of tree-sitter --version)

tree-sitter 0.25.9 (a467ea8502d95562171f97953a6dc5b2a8622609)

Describe the bug

Currently, the main branch uses Tree-sitter v0.25.9. However, adding support for a new language may introduce compatibility issues with other languages currently used in GritQL.

Because it would be hard to upgrade all othere language submoduels 's tree-sitter version.
Are there any plans to maintain another branch that uses the older Tree-sitter version?

Steps To Reproduce/Bad Parse Tree

  1. open the gritql repository.
  2. checkout the tree-sitter-gritql to main branch.
  3. build the gritql
  4. run the list command, got the error
Image

Expected Behavior/Parse Tree

It should run correctly without any exception.

Repro


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions