Skip to content

Feature / Question: go-tree-sitter dependency #1367

@aautumn725

Description

@aautumn725

Feature / Question: go-tree-sitter dependency

Hi team,

I noticed that the project currently uses github.com/smacker/go-tree-sitter for syntax tree parsing. Since go-tree-sitter relies on CGO, cross-platform compilation (especially for darwin/arm64) becomes complicated.

I have a few questions:

  1. Is go-tree-sitter strictly required for Katana, or only for certain features?
  2. Are there any alternative pure-Go libraries we could use instead of go-tree-sitter to simplify cross-platform builds?

This would help in making snapshot builds and CI/CD pipelines simpler, without needing to configure CGO or cross-compilers.

Thanks!


Use Case

  • Simplifying cross-platform builds (Windows → macOS/ARM)
  • Avoiding CGO-related compilation issues
  • Maintaining full functionality while reducing dependency complexity

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: EnhancementMost issues will probably ask for additions or changes.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions