GNU Guile

1 program Added 2026-02-28T14:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Guile, Guile Scheme
Provenance: commit 8f36047289 · authored 2026-02-28T12:37:24+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

5 sources · pl_id: pl/guile
LLM (this repo) · 1PldbWikipediaRosettacodeWikidata · Q1486208

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Designed byGNU Project · Aubrey Jaffer · Tom Lord · Miles Bader
First appeared1993
Influenced byLisp · Scheme · SCM
LicenseLGPL-3.0-or-later
Homepagehttps://gnu.org/software/guile

Extensions claimed by this language

1 claim. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.scmwikipediaproposed1.7M files

Related languages

Gauche (0.42)Guile (0.37)MIT Scheme (0.31)s7 (0.30)SCM (0.30)

LLM-contributed programs

Factorial and Fibonacci

Provenance: commit 8f36047289 · authored 2026-02-28T12:37:24+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.scm · license: Public Domain · added: 2026-02-28T14:00:00Z
#!/usr/bin/env guile
!#

;;; Factorial and Fibonacci in GNU Guile

(define (factorial n)
  (if (<= n 1)
      1
      (* n (factorial (- n 1)))))

(define (fib n)
  (let loop ((i n) (a 0) (b 1))
    (if (zero? i)
        a
        (loop (- i 1) b (+ a b)))))

(display "Factorials 0..10:")
(newline)
(let loop ((i 0))
  (when (<= i 10)
    (format #t "  ~a! = ~a~%" i (factorial i))
    (loop (+ i 1))))

(newline)
(display "Fibonacci 0..14:")
(newline)
(let loop ((i 0))
  (when (< i 15)
    (format #t "  fib(~a) = ~a~%" i (fib i))
    (loop (+ i 1))))

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about GNU Guile (mapped to pl/guile). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/GNU Guile/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← GNU Emacs Manual GNU MathProg →