🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1155087: ITP: goastgen -- write the abstract syntax tree of Go sources as JSON

#5875
From: Juan Manuel Méndez Rey
Date: Tue, 24 Nov 2026 00:10
26 lines
2631 bytes
Package: wnpp
Severity: wishlist
Owner: Juan Manuel Méndez Rey <juan.mendezr@proton.me>

* Package name    : goastgen
  Version         : 0.1.2
  Upstream Author : Pandurang Patil <pandurang.patil@privado.ai>
  URL             : https://github.com/joernio/astgen-monorepo
  License         : Apache-2.0
  Programming Lang: Go
  Description     : write the abstract syntax tree of Go sources as JSON

 goastgen parses the Go files of a project with go/ast, and its go.mod
 files, and writes each syntax tree as a JSON file. joern's Go frontend
 reads these files to build its code property graph.

It is the Go frontend of joern (https://bugs.debian.org/1154418). The
code lives in go-astgen/ of the joern AST generator monorepo, now kept
by Max Leuthäuser <max.leuthaeuser@gmail.com>. Upstream confirmed that
the monorepo's Apache-2.0 licence covers it:
https://github.com/joernio/astgen-monorepo/issues/190#issuecomment-7060132973

It will be maintained in the Debian Go Packaging Team. For now it is on
salsa:
https://salsa.debian.org/mendezr/goastgen
Technical Details
Message-ID: <O2MgF-dMbf-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155087: ITP: goastgen -- write the abstract syntax tree of Go sources as JSON
Date: Tue, 24 Nov 2026 01:10:01 +0100
Message-ID: <O2MgF-dMbf-1@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Nov 24 00:05:08 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>, 1155087@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: wnpp@debian.org
X-Debian-Pr-Message: report 1155087
X-Debian-Pr-Package: wnpp
Feedback-ID: 176548819:user:proton
X-Pm-Message-ID: b91bab39d568ea84ea9f72995fa55b67ede7bbf3
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/2004595
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 26
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 24 Nov 2026 00:02:37 +0000
X-Original-Message-ID: <e003eb6f0cbfbbd50bdf79ee2f301cb4@proton.me>