camdencheek / tree-sitter-dockerfile

A tree-sitter grammar for Dockerfile
MIT License
71 stars 20 forks source link

SPM support #29

Closed mattmassicotte closed 1 year ago

mattmassicotte commented 1 year 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. There no need for you to publish packages or take action for releases. 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.

camdencheek commented 1 year ago

Great!