From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ADbGHDGxvWIJWwEAbAwnHQ (envelope-from ) for ; Thu, 30 Jun 2022 16:20:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0DZfHDGxvWL5UwEAauVa8A (envelope-from ) for ; Thu, 30 Jun 2022 16:20:33 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F3A31D118 for ; Thu, 30 Jun 2022 16:20:32 +0200 (CEST) Received: from localhost ([::1]:43590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6v20-0001o4-3t for larch@yhetil.org; Thu, 30 Jun 2022 10:20:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6v0z-0001nu-GT for emacs-orgmode@gnu.org; Thu, 30 Jun 2022 10:19:29 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41995) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6v0w-0005vx-QT for emacs-orgmode@gnu.org; Thu, 30 Jun 2022 10:19:28 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 8A3D2240107 for ; Thu, 30 Jun 2022 16:19:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1656598764; bh=zZSGfJ+nTLuvFJQ0xp4bKuRQDGl5IJtRY3b0aaIM3oU=; h=From:To:Subject:Date:From; b=FNhcaBZiJisfrc7wtC3KQf9UFwaDk85skviY9xB9etc1mBsyTpE3JjfJGJeRa8hCa ppjj9m5xGLMUMV+3Hf4C5RH4Y+HdTu+TXyiCHp4Rv8bCFIcpkItWNKwrV/mfORJxHz gU13rk0j2JRg2oLKb07/RM/WJDzp8YSq6Q4bUSWK/i0IblhWH07BnC3DsF8C/TaBMH TN79QJk4eCISS8DXP0lAFIfBRXDYZhlBznGhDeyooyt00h/7YFbKzzTJv2oXW2H00c MbKWx/7zIMYXCBBWdmNLTcQFRjMuE9gJ0EzJ7eXqzQ7vyewRYCnJLfH18fD50RFguh K1A0fr+Eb11dQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LYgSX01x8z6tmK for ; Thu, 30 Jun 2022 16:19:23 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: orgmode Subject: Convert a Lisp expression to a tree diagram Date: Thu, 30 Jun 2022 14:19:21 +0000 Message-ID: <87edz6utcm.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656598833; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=dCbkeMMd307QXUVNgO49JjfVKZDVUrLXEPy8hR6MZ/I=; b=RqMWDKWXSkrhdbvOw+MMn5ndLQ5ZMNrHz6w6QxGRslrNwGHIL3dmWhwYolnU4Hp8f3Pq9y go0LhIs//aRPkuh9/5Zes+63h16/ok5yDfgT5nM48+FhZa/ykwae10T6UncbYtqPRRMh3h V3FzzsQHlGHpcZ57TOfy2RW23gwbM6eD9i0oJR4ptZSxA+MhT4u8piuwFd00RS7aibTTde tEFsr/hUb6mMolrehFQRFoQsUOyacOUltZXpDM9Zzv+GqvgAhVU6Tljt20vJ/tVex/qIlI komJB5+JVY/kwJeIl7NuFD66ZPesHTnbwLB6dw3deEw2btMxV6wHZ5ZWg0/vnQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656598833; a=rsa-sha256; cv=none; b=hjBohEF1cj8L6CfC2gwqwwtaeyLL7HB8mnUouM8gCL95VqIEbHeFBfTlEmJNJZZhiDq4od VsdJzE+4s3EA4j1aoCckfkEsjxU7XYAHwHY3SuC51MLQZMfFnmKVoZQJKPL4pXmDGAkROu ajAtHJ1TdICXupupG1GebdvvkXN7xeR8CBW8nyVbq2ZvvCtugEzFLrMoIxSxwm0qSHAJCB RmUFb8C4KQLt9zc5PlXZKqu+ed+1KNw8NEATeX1dbhIRwn4hKEaAoNjVic6nkQOO5Wicge ro0LzxZIOJli+BhyxKdvMYFD0vhXrU22eK5fYatTHDZ2KnLZU1cqfN3xue3jSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=FNhcaBZi; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.65 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=FNhcaBZi; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: F3A31D118 X-Spam-Score: -2.65 X-Migadu-Scanner: scn1.migadu.com X-TUID: rQPEYFKKUQec Hi all, Sorry for the slight offtopic. I'd like to be able to graphically convert (from a src block) a Lisp expression to a tree diagram, similar to trees used in (human) syntax and grammar, especially generative grammar (this is a web app for generating such trees: http://www.ironcreek.net/syntaxtree/). I think I can try some LaTeX hack using the 'forest' package (here's a related thread with pros and cons: https://tex.stackexchange.com/questions/140812/drawing-a-lisp-expression-as-a-tree), but I was wondering if anyone knows of any more emacs/elisp/org friendly packages/solutions. Some time ago I saw an Emacs package that could convert a Elisp expression into an ascii text tree diagram, but I can't remember its name and I can't find it anywhere... Best regards, Juan Manuel