cocoindex-io / cocoindex-io/cocoindex-code

Feature: User supplied languages

Open
#191 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.7k
Forks
217
Avg merge
1d 4h
Merged PRs (30d)
4

Description

I would like to request support for loading user supplied Tree Sitter language definitions. This would allow users to add or override grammars without waiting for them to be included in the project.

Use cases:

  • Working with niche or experimental languages.
  • Using modified grammars for testing or research.
  • Supporting internal languages that are not intended for public distribution.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the CLI's Tree-sitter grammar-loading path, then determine how user-supplied definitions should be discovered, loaded, and prioritized over bundled grammars. Done means niche, modified, and internal grammars can be loaded without project inclusion, with tests covering those cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.