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

Build index of compiled parsers and add api for file-type resolution #145

Closed
wants to merge 2 commits into from

Conversation

@amaanq
Copy link
Member

amaanq commented Jul 29, 2023

Nice to see! Great timing too because I was thinking of adding more bindings upstream, I've added some for Go, C, and Swift here:
tree-sitter/tree-sitter#2438

I'd like Python and Zig too but I have limited experience in how packaging and that stuff works for those languages

@amaanq
Copy link
Member

amaanq commented Jul 29, 2023

Ci seems to be outdated... rebase and it'll be fine now

@amaanq
Copy link
Member

amaanq commented Aug 3, 2023

I've added upstream support for python bindings (kinda) in the linked PR, would be nice if you could check it out and provide some feedback

It exports the language function as tree_sitter_LANG.language() which just returns the raw const struct TSLanguage
image

@amaanq amaanq force-pushed the master branch 5 times, most recently from 14c4e3e to 0e573fe Compare September 6, 2023 08:41
@ObserverOfTime
Copy link
Member

Closing this since we plan on removing build_library in the next version, in favour of pre-compiled wheels for languages, and language detection will not be particularly useful (if even feasible) at that point.

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.

3 participants