sourcekit-lsp
swift-syntax
Our great sponsors
sourcekit-lsp | swift-syntax | |
---|---|---|
12 | 2 | |
3,086 | 2,888 | |
1.5% | 2.5% | |
9.7 | 9.8 | |
1 day ago | 4 days ago | |
Swift | Swift | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sourcekit-lsp
- Swift development using NeoVim instead of Xcode?
-
ShadowVim embeds Neovim inside Xcode
Great!By the way,you can also use sourcekit-lsp and xcode-build-server to program in neovim directly。though still need to debug in xcode。
-
vim-lsp merged inlay hints support!
For Objective C it looks like you can use SourceKit-LSP or ccls as language servers.
-
Swift Syntax and Structured Editing Library
There's already an LSP server for Swift (also made for Apple): https://github.com/apple/sourcekit-lsp
This library is intended for syntactic tools: formatters, highlighters, that kind of thing.
-
NeoVim setup for iOS Dev ( xcodebuild etc. ) ?
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.
- Are people using Swift for machine learning / differentiable programming outside of Apple?
-
Highlights of new technologies introduced at WWDC 2021
No langserver? SourceKit LSP has been around for a while now: https://github.com/apple/sourcekit-lsp
swift-syntax
-
Swift Syntax and Structured Editing Library
The whole compiler and the vast majority of the runtime are in C++. This module is intended to integrate with the compiler, and uses the compiler's own parsing code. That said, there are Swift bindings available as a separate library: https://github.com/apple/swift-syntax
What are some alternatives?
swift - The Swift Programming Language
cxx-interop-test - Small test app for C++ Interop with Swift.
alchemy - Modern, batteries included web framework for Swift.
tree-sitter-swift - Swift grammar for tree-sitter
fastlane - 🚀 The easiest way to automate building and releasing your iOS and Android apps
tree-sitter-swift - A tree-sitter grammar for the Swift programming language.
xbase - Develop Apple software products within your favorite editor.
swift-numerics - Advanced mathematical types and functions for Swift
xcode-build-server - a build server protocol implementation for integrate xcode with sourcekit-lsp
Swift-AI - The Swift machine learning library.