🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #5811

Bug#1155038: ITP: swift-astgen -- write the abstract syntax tree of Swift source files as JSON

#5811
From: Juan Manuel Méndez Rey
Date: Mon, 23 Nov 2026 18:40
23 lines
2452 bytes
Package: wnpp
Severity: wishlist
Owner: Juan Manuel Méndez Rey <juan.mendezr@proton.me>

* Package name    : swift-astgen
  Version         : 0.4.4
  Upstream Author : Max Leuthäuser <max.leuthaeuser@gmail.com>
  URL             : https://github.com/joernio/astgen-monorepo
  License         : Apache-2.0
  Programming Lang: Swift
  Description     : write the abstract syntax tree of Swift source files as JSON

 SwiftAstGen parses Swift files with SwiftSyntax and writes each syntax
 tree as a JSON file. joern's Swift frontend (swiftsrc2cpg) reads these
 files to build its code property graph. With --scala-ast-only it writes
 the Scala classes that describe the SwiftSyntax nodes instead.

It is the Swift frontend of joern (https://bugs.debian.org/1154418). It
is built against swift-syntax, which I am packaging too.

It is on salsa:
https://salsa.debian.org/mendezr/swift-astgen
Technical Details
Message-ID: <O2H7j-dIIZ-11@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155038: ITP: swift-astgen -- write the abstract syntax tree of Swift source files as JSON
Date: Mon, 23 Nov 2026 19:40:01 +0100
Message-ID: <O2H7j-dIIZ-11@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Nov 23 18:37:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Juan Manuel Méndez Rey <juan.mendezr@proton.me>, 1155038@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: wnpp@debian.org
X-Debian-Pr-Message: report 1155038
X-Debian-Pr-Package: wnpp
Feedback-ID: 176548819:user:proton
X-Pm-Message-ID: 05aad0f753abc2b111800fcc390899d0742389dc
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004508
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 23
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 23 Nov 2026 18:35:30 +0000
X-Original-Message-ID: <bb5bbd350fc142a7aa19e0dd26d3d0dc@proton.me>