{"id":13492051,"url":"https://github.com/krzyzanowskim/tree-sitter-xcframework","last_synced_at":"2025-03-17T16:32:35.671Z","repository":{"id":40444708,"uuid":"466439501","full_name":"krzyzanowskim/tree-sitter-xcframework","owner":"krzyzanowskim","description":"binary build of tree-sitter for apple platforms","archived":false,"fork":false,"pushed_at":"2024-02-12T00:00:13.000Z","size":109852,"stargazers_count":37,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-04-14T04:57:22.754Z","etag":null,"topics":["parser","spm","swift","swift-package-manager","tree-sitter","tree-sitter-parser"],"latest_commit_sha":null,"homepage":"https://swift.best","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krzyzanowskim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-03-05T11:55:45.000Z","updated_at":"2023-12-16T18:29:52.000Z","dependencies_parsed_at":"2023-02-09T22:45:40.524Z","dependency_job_id":"de5cd080-5a16-45e1-84b0-e8a94442dfd5","html_url":"https://github.com/krzyzanowskim/tree-sitter-xcframework","commit_stats":{"total_commits":46,"total_committers":4,"mean_commits":11.5,"dds":0.4130434782608695,"last_synced_commit":"8c11cc2d299a5afed6d8ae77b29c8204743b1c4f"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krzyzanowskim%2Ftree-sitter-xcframework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krzyzanowskim%2Ftree-sitter-xcframework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krzyzanowskim%2Ftree-sitter-xcframework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krzyzanowskim%2Ftree-sitter-xcframework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krzyzanowskim","download_url":"https://codeload.github.com/krzyzanowskim/tree-sitter-xcframework/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221396233,"owners_count":16812336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["parser","spm","swift","swift-package-manager","tree-sitter","tree-sitter-parser"],"created_at":"2024-07-31T19:01:02.664Z","updated_at":"2024-10-27T15:18:47.567Z","avatar_url":"https://github.com/krzyzanowskim.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"A module for the [tree-sitter](https://tree-sitter.github.io/) incremental parsing system. The tree-sitter has both runtime and per-language dependencies. They all have to be build separately. For a purpose of this project per-language dependencies are part of the resulting `tree_sitter.xcframework`.\n\nThe `tree_sitter.xcframework` binary comes with:\n- [tree-sitter](https://tree-sitter.github.io/tree-sitter) runtime\n- [tree-sitter-swift](https://github.com/alex-pinkus/tree-sitter-swift)\n- [tree-sitter-go](https://github.com/tree-sitter/tree-sitter-go)\n- [tree-sitter-gomod](https://github.com/camdencheek/tree-sitter-go-mod)\n- [tree-sitter-ruby](https://github.com/tree-sitter/tree-sitter-ruby)\n- [tree-sitter-json](https://github.com/tree-sitter/tree-sitter-json)\n- [tree-sitter-php](https://github.com/tree-sitter/tree-sitter-php)\n- [tree-sitter-markdown](https://github.com/ikatyang/tree-sitter-markdown)\n- [tree-sitter-java](https://github.com/tree-sitter/tree-sitter-java)\n- [tree-sitter-python](https://github.com/tree-sitter/tree-sitter-python)\n- [tree-sitter-html](https://github.com/tree-sitter/tree-sitter-html)\n- [tree-sitter-css](https://github.com/tree-sitter/tree-sitter-css)\n\nThis is a [work-in-progress](https://github.com/tree-sitter/tree-sitter/issues/1488). But, if the parser you'd like to use doesn't have a Makefile, let me know and I'll help get it set up.\n\n## Integration\n\n### Swift Package Manager\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/krzyzanowskim/tree-sitter-xcframework\", from: \"0.208.4\")\n]\n```\n\n## Usage\n\nAccessing the parsers directly:\n\n```swift\nimport TreeSitter\n\nlet parser = tree_sitter_swift()\nlet parser = tree_sitter_ruby()\n```\n\nVia the included \"TreeSitterResource\" abstraction:\n\n```swift\nimport TreeSitterResource\n\nlet swift = TreeSitterLanguage.swift\n\nlet url = swift.highlightQueryURL\nlet parserPtr = swift.parser\n```\n\n### Suggestions or Feedback\n\nI'd love to hear from you! Get in touch via twitter [@krzyzanowskim](https://x.com/krzyzanowskim), an issue, or a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrzyzanowskim%2Ftree-sitter-xcframework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrzyzanowskim%2Ftree-sitter-xcframework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrzyzanowskim%2Ftree-sitter-xcframework/lists"}