🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1156276: ITP: dotnet-astgen -- write the abstract syntax tree of C# sources as JSON

#7350
From: Juan Manuel Méndez Rey
Date: Thu, 03 Dec 2026 17:20
27 lines
2728 bytes
Package: wnpp
Severity: wishlist
Owner: Juan Manuel Méndez Rey <juan.mendezr@proton.me>

* Package name    : dotnet-astgen
  Version         : 0.45.0
  Upstream Author : David Baker Effendi <dave@whirlylabs.com>, Karan Batavia <karan.batavia@privado.ai>
  URL             : https://github.com/joernio/astgen-monorepo
  License         : Apache-2.0
  Programming Lang: C#
  Description     : write the abstract syntax tree of C# sources as JSON

 DotNetAstGen parses the .cs files of a project with Roslyn and writes
 each syntax tree as a JSON file. For a .dll with its .pdb it writes a
 summary of the types and methods. joern's C# frontend reads these files
 to build its code property graph.

It is the C# frontend of joern (https://bugs.debian.org/1154418). The
code lives in dotnet-astgen/ of the joern AST generator monorepo. It
needs .NET 10 (https://bugs.debian.org/1078132) and embeds two MIT
libraries that Debian lacks: ICSharpCode.Decompiler 8.2 (from ILSpy)
and CommandLineParser 2.9.1. Roslyn, Mono.Cecil and Newtonsoft.Json
come from the dotnet10 build.

For now it is on salsa:
https://salsa.debian.org/mendezr/dotnet-astgen
Technical Details
Message-ID: <O6iDn-fMlW-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!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#1156276: ITP: dotnet-astgen -- write the abstract syntax tree of C# sources as JSON
Date: Thu, 03 Dec 2026 18:20:01 +0100
Message-ID: <O6iDn-fMlW-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Dec  3 17:13:09 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>, 1156276@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: wnpp@debian.org
X-Debian-Pr-Message: report 1156276
X-Debian-Pr-Package: wnpp
Feedback-ID: 176548819:user:proton
X-Pm-Message-ID: c47b75e5dcdd18d0b5d8732d25aa491b09278e44
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/2006782
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 27
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 03 Dec 2026 17:11:25 +0000
X-Original-Message-ID: <5effeadf1a72d76a3b6d8663c7640749@proton.me>