From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?ISO-8859-1?Q?J=E9r=E9my?= Korwin-Zmijowski Newsgroups: gmane.lisp.guile.user Subject: Re: Module dependencies Date: Sat, 19 Mar 2022 13:59:08 +0100 Message-ID: References: <7e7420c9f8d3f65b64a345c8fb8a3c436c537595@webmail> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1696"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.42.1 Cc: 'Mailing list Guile User' To: dsmich@roadrunner.com Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Mar 19 14:06:52 2022 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nVYnD-0000GK-KW for guile-user@m.gmane-mx.org; Sat, 19 Mar 2022 14:06:51 +0100 Original-Received: from localhost ([::1]:37668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVYnC-0007Eh-Ap for guile-user@m.gmane-mx.org; Sat, 19 Mar 2022 09:06:50 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVYfu-00014u-Dc for guile-user@gnu.org; Sat, 19 Mar 2022 08:59:18 -0400 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:39693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVYfs-0004s0-Em for guile-user@gnu.org; Sat, 19 Mar 2022 08:59:18 -0400 Original-Received: (Authenticated sender: jeremy@korwin-zmijowski.fr) by mail.gandi.net (Postfix) with ESMTPSA id 508A960002; Sat, 19 Mar 2022 12:59:08 +0000 (UTC) In-Reply-To: <7e7420c9f8d3f65b64a345c8fb8a3c436c537595@webmail> Received-SPF: none client-ip=217.70.183.195; envelope-from=jeremy@korwin-zmijowski.fr; helo=relay3-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:18219 Archived-At: Le samedi 19 mars 2022 à 10:58 +0000, dsmich@roadrunner.com a écrit : > > From: "Jérémy Korwin-Zmijowski" > > >  > I would like to visualize all the modules a given module depend > on. > > > > How do you achieve that ? > > >  > Any existing tool ? > > Maybe this from the guile sources: module/scripts/use2dot.scm > > -Dale > Hello Dale, I explored this a bit and I got what I wanted with this command line : guile -L . -c '(use-modules (scripts use2dot) (ynm-core entities)) (use2dot "ynm-core/adapters.scm")' | xdot - Thank you ! Jérémy