Ross ROSS = Recommend OSS · open-source software intelligence for agents

swiftlang/swift-syntax

A set of Swift libraries for parsing, inspecting, generating, and transforming Swift source code. observed · 2026-10-21

github.com/swiftlang/swift-syntax · Swift · Apache-2.0 (permissive) observed · 2026-10-21

Health v2 · maintenance only

94/100

  • Activity 100
  • Release rhythm 83
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: 73.0
  • age_days: 3003
  • days_rel: 35
  • days_push: 0
  • n_releases_24m: 7

Full methodology

Adoption not part of the score

3710 stars · 562 forks observed · 2026-10-21

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A set of Swift libraries for parsing, inspecting, generating, and transforming Swift source code via a source-accurate syntax tree (SwiftSyntax). It is the backbone of Swift's macro system, letting macros generate SwiftSyntax trees inserted into source files.

Use cases

  • parse Swift source code into a syntax tree
  • build Swift macros
  • generate Swift source code programmatically
  • write linters or refactoring tools for Swift
  • transform or rewrite Swift source files
  • analyze Swift AST for tooling

When to choose

  • building Swift macros or compiler-adjacent tooling
  • writing code generators, linters, or formatters for Swift
  • you need a source-accurate, lossless representation of Swift code

When to avoid

  • parsing languages other than Swift
  • you only need lightweight regex-based text manipulation of Swift files
  • you need a stable API surface across major versions without migration effort

Facets

library · maturity stable

parser compiler developer-tools code-review programming-languages parsers developer-tools compilers cross-platform swift-syntax ast source-code-analysis macros swiftmacro code-generation syntax-tree swift macos linux

1 source

Member repositories

RepositoryRoleHealth v2
swiftlang/swift-syntaxmain94

For agents

markdown · JSON · MCP: product_card(name="swiftlang/swift-syntax")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem