Skip to content

Add Kotlin and Dart tree-sitter support #26

Description

@thegdsks

Stacklit currently parses 11 languages. Kotlin and Dart are the two most requested additions.

What needs to happen for each language:

  1. Add the tree-sitter grammar dependency
  2. Write queries for extracting exports (functions, classes, types)
  3. Write queries for extracting imports
  4. Add test fixtures with a small sample project
  5. Update the language list in README

The existing language implementations in the parser package are good references. Each language is roughly 50-100 lines of query definitions.

Good first contribution if you know either language.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions