cocoindex-io / cocoindex-io/cocoindex-code
Feature: User supplied languages
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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