Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to tree-sitter-languages-freed-wu-pr: expand language support #10

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

FeepingCreature
Copy link

@FeepingCreature FeepingCreature commented Oct 28, 2024

I want it for D, so I added a D entry. I don't know what the extensions of the other new languages are.

I didn't see #8 until just now so there's some amount of redundant effort here. Oops :) tree-sitter-languages-freed-wu-pr is a microfork I made based on grantjenks/py-tree-sitter-languages#53 . It does not change the API or build behavior, it just adds new languages (at least on Linux/MacOS, I couldn't get the Windows linker to work with the full list). This change is smaller, but #8 has more hope of support. So this is intended as a band-aid.

@FeepingCreature
Copy link
Author

Ping?

@paul-gauthier
Copy link
Collaborator

I appreciate the effort here! I am nervous to move from one unsupported package to another unsupported package.

I am hopeful about this package from the Textual folks though:

https://github.com/Textualize/py-tree-sitter-languages

@FeepingCreature
Copy link
Author

FeepingCreature commented Nov 30, 2024

I mean that's very fair, I'm not proposing it as a long-term solution. In my opinion, unless I've majorly messed up the release process (which is very possible!), it should be better than what you have right now.

tree-sitter wants now to be used in a format where you have small binaries for every language, and that's definitely the way to go moving forward, but I don't think it's ready for deployment everywhere yet. And I mean, personally, my workplace is a D company, and I kinda would like to avoid telling everyone to install a branch... :P

(Though it also wouldn't be a huge hindrance, we can use git/pip.)

@FeepingCreature
Copy link
Author

FeepingCreature commented Dec 22, 2024

Apparently https://pypi.org/project/tree-sitter-language-pack/ is a thing now too. Bit less ad-hoc :) If that'd be acceptable, I'll give that a poke after the holidays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants