ganezdragon / tree-sitter-perl

a perl parser for javascript
MIT License
33 stars 9 forks source link

SPM support #22

Closed mattmassicotte closed 1 year ago

mattmassicotte commented 2 years ago

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:

https://github.com/tree-sitter/tree-sitter-go/pull/79 https://github.com/tree-sitter/tree-sitter-c/pull/105 https://github.com/tree-sitter/tree-sitter-haskell/pull/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.