tree-sitter / tree-sitter/java-tree-sitter

Support custom input encoding

Open
#144 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue help wanted
Dominant language
Java
Stars
141
Forks
34
Avg merge
14d 2h
Merged PRs (30d)
2

Description

Tree-sitter supports UTF8, UTF16-LE, and UTF16-BE by default or a DecodeFunction for other encodings.
I made an attempt to add support for other encodings in #136 but it had several problems.
If anyone needs this feature and can implement it properly, please go ahead and submit a new PR.

Contributor guide

No contributing guide indexed for this repository

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

Start by reviewing the problems in the earlier attempt from pull request #136 and the Tree-sitter support for UTF8, UTF16-LE, UTF16-BE, and DecodeFunction. Define a complete approach for supporting other input encodings, then verify that the implementation handles those encodings without the problems identified in #136.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.