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

feat!: update the module for new bindings layout #8

Merged
merged 2 commits into from
Feb 2, 2025
Merged

Conversation

amaanq
Copy link
Member

@amaanq amaanq commented Feb 2, 2025

Instead of using dynLoad or load, the grammar repositories will expose a language function that is of type Language. Additionally, users can declare an extern tree_sitter_language fn that returns a *const Language, if they don't want to opt into using the grammar's module. Lastly, the module here should be called tree-sitter.

@amaanq amaanq merged commit 0f89697 into master Feb 2, 2025
7 checks passed
@amaanq amaanq deleted the binding-update branch February 2, 2025 00:35
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