Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

SPM support - #41

Open
mattmassicotte wants to merge 1 commit into
emiasims:mainfrom
mattmassicotte:main
Open

SPM support#41
mattmassicotte wants to merge 1 commit into
emiasims:mainfrom
mattmassicotte:main

Conversation

@mattmassicotte

Copy link
Copy Markdown

Hello! This adds support for the Swift package manager (SPM), along with the necessary bindings to support it from Swift. This has been done to many other tree-sitter parser projects. The change doesn't affect the parser itself, and requires no maintenance on your part.

There are a handful of things that could potentially break the binding (like moving from a C to C++ scanner), but if that ever happens, Swift users would notice and we could just fix it. It's happened before and it generally isn't a big deal.

Happy to answer questions, if you have any!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant