Swift Syntax and Structured Editing Library

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Truly a developer’s best friend
  • Zigi - Workflow assistant built for devs & their teams
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • swift

    The Swift Programming Language

    And here is the "C++ Interopability Manifesto", the massive outline they have for the feature in the language:


  • alchemy

    Elegant, batteries included web framework for Swift. (by alchemy-swift)

    Exciting stuff.

    With async/await landing last week and the leaps and bounds of the package manager over the last couple years, the ergonomics of using Swift for non-iOS work has gotten significantly better. Coupled with the built in safety and elegance of the language I think that, especially for server work, Swift is a very attractive option.

    Shameless plug; for these reasons I built a [Swift web framework for fullstack iOS development](https://github.com/alchemy-swift/alchemy) that we've been using it at my company while going through YC this summer. It's been very powerful to have mobile and server in the same language and codebase and has helped us (native iOS backgrounds), move quickly.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • cxx-interop-test

    Small test app for C++ Interop with Swift.

    For a real-world example of using this, here's a test repo from the core developers:


  • swift-syntax

    A set of Swift libraries for parsing, inspecting, generating, and transforming Swift source code.

    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

  • sourcekit-lsp

    Language Server Protocol implementation for Swift and C-based languages

    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.

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts