Repository navigation
Swift Package Manager - #124
Conversation
|
Hello @maxbrunsfeld! Just wondering if there's anything that could be done to help move this along? |
|
Is there anything that's holding this up? |
| "binding.gyp", | ||
| "bindings", | ||
| "Cargo.toml", | ||
| "corpus", | ||
| "grammar.js", | ||
| "LICENSE", | ||
| "Makefile", | ||
| "package.json", | ||
| "README.md", | ||
| "script", | ||
| ".travis.yml", | ||
| "appveyor.yaml", | ||
| "src/grammar.json", | ||
| "src/node-types.json", |
There was a problem hiding this comment.
I would guess the hesitation to merge this was because adding another list that needs to be updated whenever you add a file to the repo is not fun:
| "binding.gyp", | |
| "bindings", | |
| "Cargo.toml", | |
| "corpus", | |
| "grammar.js", | |
| "LICENSE", | |
| "Makefile", | |
| "package.json", | |
| "README.md", | |
| "script", | |
| ".travis.yml", | |
| "appveyor.yaml", | |
| "src/grammar.json", | |
| "src/node-types.json", | |
| ".gitattributes", | |
| ".github", | |
| ".gitmodules", | |
| ".npmignore", | |
| "binding.gyp", | |
| "bindings", | |
| "Cargo.toml", | |
| "corpus", | |
| "examples", | |
| "grammar.js", | |
| "LICENSE", | |
| "Makefile", | |
| "package.json", | |
| "README.md", | |
| "script", | |
| "appveyor.yaml", | |
| "src/grammar.json", | |
| "src/node-types.json", |
There was a problem hiding this comment.
examples/ is the main one
|
Can you also add newlines to the end of the files and I'll merge it? |
|
Please just ignore this when making changes. The exclude list is just there to silence some warnings that only Swift developers would see, and even that doesn't always happen. SPM has been getting less noisy about that kind of thing. I totally understand the reservation. In this case it's really a non-issue. |
Newlines added 😉 |
Swift's package manager can build C/C++ sources and use headers to expose functions to Swift. The standard tree-sitter parser project layout just requires a little extra configuration to make it happy.
Cross-reference:
Grammars with SPM support to this date: