guild(1) GNU Guile guild(1) NAME guild, guile-tools - run Guile-related commands SYNOPSIS guild compile guild disassemble guild display-commentary guild doc-snarf guild help guild use2dot ... DESCRIPTION Run Guile-related commands; "guild help --all" will provide a complete list. guile-tools is an older, deprecated name for this program. SUBCOMMANDS help [--all | COMMAND] Display a list of --all available subcommands, information about COMMAND, or summary information. compile [ARG ...] Invoke the Guile compiler. disassemble [FILE ...] Disassemble a compiled .go file. display-commentary [REF ...] Display Commentary section from REF1, REF2 and so on. Each REF may be a filename or module name (list of symbols). In the latter case, a filename is computed by searching %load-path. doc-snarf FILE Read a Scheme source file to extract docstrings in the format specified in DOCSTRINGS below, and infer a procedure prototype from procedure definition lines starting with (define... ). Currently, two output modes are implemented: texinfo and plaintext. Default is plaintext, texinfo can be switched on with the --texinfo or -t command line option. use2dot [-m MODULE] [FILE...] Display to stdout a graphviz DOT specification that describes module dependencies in the FILEs. A top-level use-modules form or a :use-module component in a define-module form results in a "solid" style edge. An :autoload component in a define-module form results in a "dotted" style edge with label "N" indicating that N names are responsible for triggering the autoload. (The "N" label is not implemented.) A top-level load or primitive-load form results in a a "bold" style edge to a node named with either the file name if the load argument is a string, or "[computed in FILE]" otherwise. The --default-module MODULE (or -m) option sets MODULE as the default for top-level use-modules forms that do not follow a define-module form in a file. MODULE should be be a list, or #f, in which case such top-level use-modules forms are effectively ignored. The default value is (guile-user). DOCSTRINGS A docstring can span multiple lines and begins with a line that starts with ";;" (two semicolons and a space). A docstring ends with a line that begins with "(define ...)" or with one or more "option" lines that begin with ";;-" (two semicolons and a dash), which is then followed by a keyword, a colon, and a string. Additionally, "standard internal docstrings" (for Scheme source) are recognized and output as "options". The output formatting is likely to change in the future. Here's an example: ;; This procedure foos, or bars, depending on the argument @var{braz}. ;;-Author: Martin Grabmueller (define (foo/bar braz) (if braz 'foo 'bar)) which produces this when the output format is texinfo: #! foo/bar @deffn procedure foo/bar braz This procedure foos, or bars, depending on the argument @var{braz}. @c Author: Martin Grabmueller @end deffn !# or this when the output format is plain text: #! Procedure: foo/bar braz This procedure foos, or bars, depending on the argument @var{braz}. Author: Martin Grabmueller ^L !# SEE ALSO dot(1), guile(1), and for much more detail, the Guile Reference Manual which may also be available via info guile or M-x info in emacs. 3.0.12 2025-12-12 guild(1)