tree-sitter-swift

Swift grammar for tree-sitter (by tree-sitter)

Tree-sitter-swift Alternatives

Similar projects and alternatives to tree-sitter-swift

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better tree-sitter-swift alternative or higher similarity.

tree-sitter-swift reviews and mentions

Posts with mentions or reviews of tree-sitter-swift. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-28.
  • NeoVim setup for iOS Dev ( xcodebuild etc. ) ?
    2 projects | /r/neovim | 28 Aug 2021
    You could probably set up something to work on Swift packages, however the tree sitter grammar for Swift hasn’t been updated since 2019. sourcekit-lsp also isn’t likely to help you out either because it’s not made to understand Xcode projects. You’d need an LSP capable of parsing a .pbxproj (I highly doubt there is one, but I haven’t looked around), which has the terrible downside of not being something Apple considers a public API and can and will introduce breaking changes on any Xcode update. An Apple engineer confirmed this with me during a lab in 2020 when I was asking about how doing some hacky things with binary Swift packages.
  • Semgrep: Like Grep but for Code
    12 projects | news.ycombinator.com | 22 Apr 2021
    https://github.com/returntocorp/ocaml-tree-sitter/blob/maste... appears to be the general answer to your question, but navigating to the tree-sitter docs shows that tree-sitter has one in progress: https://github.com/tree-sitter/tree-sitter-swift so hopefully the machinery to incorporate it into semgrep will not be horrific

Stats

Basic tree-sitter-swift repo stats
2
57
0.0
over 2 years ago

Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com