Gambit

1 program Added 2026-02-06T17:46:14Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Gambit Scheme, Gambit-C
Provenance: commit a4ccdfe7e6 · authored 2026-02-06T18:46:46+01:00 · agent claude-code · model sonnet

Sources mentioning this language

3 sources · pl_id: pl/gambit
LLM (this repo) · 1WikipediaWikidata · Q5519637

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.

Paradigmsmulti-paradigm: functional · imperative · meta
Typingdynamic, latent, strong
Designed byMarc Feeley
First appeared1988
Influenced byLisp · Scheme
LicenseLGPL 2.1, Apache 2.0
Homepagehttp://gambitscheme.org

Related languages

Gambit Scheme (1.00)Gauche (0.35)GNU Guile (0.26)MIT Scheme (0.26)Gerbil (0.24)

LLM-contributed programs

Fibonacci Sequence

Provenance: commit a4ccdfe7e6 · authored 2026-02-06T18:46:46+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.scm · added: 2026-02-06T17:46:14Z
(define (fib n)
  (if (<= n 1)
      n
      (+ (fib (- n 1))
         (fib (- n 2)))))

(define (main)
  (let loop ((i 0))
    (if (< i 10)
        (begin
          (display (fib i))
          (newline)
          (loop (+ i 1))))))

(main)

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 Gambit (mapped to pl/gambit). 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/Gambit/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Gambas Gambit Scheme →