Get the latest tech news

Show HN: Tree-sitter Integration for Swift


Tree-sitter integration for Swift. Contribute to daspoon/tree-sitter-kit development by creating an account on GitHub.

The Grammar protocol provides a convenience method for translating text to its Root type -- throwing when the parse tree contains errors. After cloning the project you must run the shell script build_xcframework.rb from the checkout directory in order to create the binary target TreeSitterCLI.xcframework. there is no streamlined support for editing or error reporting TreeSitterCLI.xcframework must be built separately all production rules must be defined within the top-level grammar struct

Get the Android app

Or read this on Hacker News

Read more on:

Photo of sitter integration

sitter integration