Swift API for the tree-sitter incremental parsing system.
SwiftTreeSitter is fairly low-level. If you are looking a higher-level system for syntax highlighting and other syntactic operations, you might want to have a look at Neon.
📖 Documentation is available in DocC format.
dependencies: [ .package(url: "https://github.com/ChimeHQ/SwiftTreeSitter") ]
Tree-sitter language parsers are separate projects, and you'll probably need at least one. More details are available in the documentation.
We'd love to hear from you! Get in touch via twitter, an issue, or a pull request.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
|Last commit: 4 days ago|
#matchpredicate filtering when the regex match isn't the same length as the input text
Stringextension for easier integration with