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
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • swift

    The Swift Programming Language

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

      https://github.com/apple/swift/blob/main/docs/CppInteroperabilityManifesto.md

  • alchemy

    Modern, 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • 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:

      https://github.com/plotfi/cxx-interop-test

  • 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.

  • WorkOS

    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 logo
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