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

SPM support #19

Merged
merged 1 commit into from
Oct 14, 2022
Merged

Conversation

mattmassicotte
Copy link
Contributor

This adds Swift bindings and Swift Package Manager (SPM) support. I maintain the tree-sitter Swift binding here https://github.com/chimeHQ/SwiftTreeSitter

Here are some examples of other PRs:

tree-sitter/tree-sitter-go#79
tree-sitter/tree-sitter-c#105
tree-sitter/tree-sitter-haskell#91

These are manually created. They should not ever impact the parser. Changes that require the use of a cpp scanner, which some parsers need, would require an update. The exclude patterns are pretty safe to get out of sync. They can, in some circumstances, generate warnings for Swift users. But, it's really minor.

Oh, and thanks for making this, it's really cool.

@theHamsta
Copy link
Member

Thank you!

@theHamsta theHamsta merged commit a3188cf into tree-sitter-grammars:master Oct 14, 2022
@mattmassicotte mattmassicotte deleted the feature/spm branch October 15, 2022 00:12
amaanq pushed a commit that referenced this pull request May 22, 2024
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