sourcekit-lsp
swift
Our great sponsors
sourcekit-lsp | swift | |
---|---|---|
12 | 214 | |
3,124 | 65,842 | |
2.2% | 0.7% | |
9.7 | 10.0 | |
2 days ago | 6 days ago | |
Swift | C++ | |
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。
-
Finally got "eglot" to work with "sourcekit-lsp" in iOS project
After enabling eglot, our local files will not be picked up by language server. Because the documentation(https://github.com/apple/sourcekit-lsp) mentions "IndexStoreDB is built using the Swift Package Manager."
- anyone have an ios/macos swift workflow with helix?
-
How to instantly crash Xcode in 5 easy characters
Created an issue: https://github.com/apple/sourcekit-lsp/issues/636
-
vim-lsp merged inlay hints support!
For Objective C it looks like you can use SourceKit-LSP or ccls as language servers.
-
Desenvolvimento Swift no Windows com WSL
git clone https://github.com/apple/sourcekit-lsp.git cd sourcekit-lsp/Editors/vscode/ npm install npm run dev-package code --install-extension sourcekit-lsp-development.vsix
-
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.
- SourceKit-LSP now supports syntax highlighting for Swift
-
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.
swift
- Swift: Differentiable Programming Manifesto
-
Embedded Swift on the Raspberry Pi Pico
Because of C/C++ interop, and integration with CMake, you can just add Swift to a Zephyr project and it pretty much Just Works. [The docs](https://github.com/apple/swift/blob/main/docs/EmbeddedSwift/...) should mostly apply to the Zephyr SDK as well.
-
A Deep Dive Into Observation: A New Way to Boost SwiftUI Performance
Fortunately, the Observation framework is part of the Swift 5.9 standard library. We can learn more information by examining its source code.
-
Swift was always going to be part of the OS
They do! See https://github.com/apple/swift/blob/main/docs/LibraryEvoluti...
You can also see an example of what a different high level language integration with Swift ABI looks like here: https://github.com/dotnet/designs/blob/main/proposed/swift-i...
-
Differentiable Swift
So is differentiable Swift a package for Swift or is it part of the Swift standard library? The video says go to swift.org but I can't find any info about differentiable Swift on that site.
-
Beyond Backpropagation - Higher Order, Forward and Reverse-mode Automatic Differentiation for Tensorken
Swift's Differentiable Programming Manifesto. Swift has a powerful differentiable programming component, integrated with the compiler.
-
Kotlin Multiplatform for Android and iOS Apps
You can do the same thing the other way around - https://github.com/apple/swift/blob/main/docs/Android.md.
-
This isn’t the way to speed up Rust compile times
Codable (along with other derived conformances like Equatable, Hashable, and RawRepresentable) is indeed built in to the compiler[0], but unlike Serde, it operates during type-checking on a fully-constructed AST (with access to type information), manipulating the AST to insert code. Because it operates at a later stage of compilation and at a much higher level (with access to type information), the work necessary is significantly less.
With ongoing work for Swift macros, it may eventually be possible to rip this code out of the compiler and rewrite it as a macro, though it would need to be a semantic macro[1] rather a syntactic one, which isn't currently possible in Swift[2].
[0] https://github.com/apple/swift/blob/main/lib/Sema/DerivedCon...
-
How does Swift implement primitive types in its standard library?
`Int` is a regular struct with a single stored property of type `Builtin.Word` . But the latter is a magical compiler built-in. Source for integer types is generated from this template - https://github.com/apple/swift/blob/9da65ca0a15fdf341649c994b0a77ec3b71f2687/stdlib/public/core/IntegerTypes.swift.gyb
- Catalog of All SwiftUI Changes?
What are some alternatives?
swift-syntax - A set of Swift libraries for parsing, inspecting, generating, and transforming Swift source code.
solidity - Solidity, the Smart Contract Programming Language
cxx-interop-test - Small test app for C++ Interop with Swift.
cpp-lazy - C++11/14/17/20 library for lazy evaluation
tree-sitter-swift - A tree-sitter grammar for the Swift programming language.
Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications
tree-sitter-swift - Swift grammar for tree-sitter
tree-sitter - An incremental parsing system for programming tools
alchemy - Modern, batteries included web framework for Swift.
hummingbird - Hummingbird compiles trained ML models into tensor computation for faster inference.
fastlane - 🚀 The easiest way to automate building and releasing your iOS and Android apps
lobster - The Lobster Programming Language